Guidelines for Command Syntax
Every keyword Help topic includes a syntax line that defines the syntax rules for that keyword. Following are some guidelines for understanding and using correct command syntax in your Visual Basic macros:
Example
The following two examples demonstrate different forms of syntax (using the SendKeys command), each of which achieve the same results:
This syntax example
|
Demonstrates
|
ThisScreen.SendKeys
|
Preceding the command with a Reflection object.
|
With ThisScreen
.SendKeys
End With
|
Placing the command between With and End With statements.
|
|