XL: Not All Arguments Are Auto-Capitalized in Visual Basic

ID: Q170229


The information in this article applies to:
  • Microsoft Excel 97 for Windows
  • Microsoft Excel for Windows, versions 5.0, 5.0a, 5.0c
  • Microsoft Excel for Windows 95, version 7.0


SYMPTOMS

When you type arguments into a Visual Basic for Applications macro, some of the arguments may not be capitalized automatically.


CAUSE

Visual Basic for Applications automatically capitalizes an argument that is recognized as an object, method, property, or type library name. For example, "Name" can be an argument and a property, so the "N" is capitalized. However, "savechanges" is an argument only, so the "s" and the "c" are not capitalized.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words:

Keywords :
Version : WINDOWS:5.0,5.0a,5.0c,7.0, 97
Platform : WINDOWS
Issue type :


Last Reviewed: September 14, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.