PSS ID Number: 113152
Article Last Modified on 1/17/2001
filesaveas format:=2, name:="Test", backup:=truewhen you press ENTER with the insertion point at the end of this line, or run the procedure that contains the command, the command appears as follows:
FileSaveAs format:=2, Name:="Test", backup:=TrueFileSaveAs is capitalized because it is a built-in command. Because "format" and "backup" are not built-commands, they are not capitalized. Name is a built-in command, although it is an argument name in this example, so it is capitalized. True is a built-in value so it is capitalized.
FileSaveAs format:=2, Name:="Test", BaCKup:=truewhen you press ENTER with the insertion point at the end of this line or run the procedure that contains the command, the command appears as you typed it. Because "backup" is not a built-in command, it retains the capitalization you give it.
filesaveas format:=2, name:="Test2", backup:=truewhen you press ENTER with the insertion point at the end of this line or run the procedure that contains the command, the command appears as follows:
FileSaveAs format:=2, Name:="Test2", BaCKup:=TrueBecause you have previously used the "backup" argument in the procedure, it is capitalized the same as the first instance you typed in the procedure (BaCKup) even though "backup" is not a built-in command.
Keywords: KB113152
Technology: kbVBA100 kbVBASearch kbZNotKeyword3 kbZNotKeyword6