Understanding Visual Basic syntax (VBA) | Microsoft Learn
https://learn.microsoft.com/en-us/office/vba/language/concepts/getting-started/understanding-visual-basic-syntax
The syntax in a Visual Basic Help topic for a method, function, or statement shows all the elements necessary to use the method, function, or statement correctly. The examples in this topic explain how to … See more Dim varname [([ subscripts ])] [ As type, ] [ varname [([ subscripts ])] [ As type ]] . . . In the Dim statement syntax, the word Dim is a required keyword. The only required element is varname (the variable name). Option Compare { Binary | Text | Database } object.Activate MsgBox (prompt, [ buttons, ] [ title, ] [ helpfile, context ]) In the MsgBox function syntax, the italic words are named arguments of the funct…
Dim varname [([ subscripts ])] [ As type, ] [ varname [([ subscripts ])] [ As type ]] . . .
In the Dim statement syntax, the word Dim is a required keyword. The only required element is varname (the variable name).
Option Compare { Binary | Text | Database }
object.Activate
MsgBox (prompt, [ buttons, ] [ title, ] [ helpfile, context ])
In the MsgBox function syntax, the italic words are named arguments of the funct…
DA: 56 PA: 57 MOZ Rank: 34