DoCmd method
Performs the command with the indicated command ID.
Version added
4.0
Syntax
| |
object |
Required. An expression that returns an Application object. |
intExpression |
Required Integer. The command to perform. |
Remarks
Constants for Visio command IDs are declared by the Visio type library in VisUICmds and are prefixed with visCmd.
The DoCmd method works best with commands that display dialog boxes.