Executes the specified internal tool button command.
object.ExecuteCommand ( Command ) |
- Command
- Required. A String that contains the command to execute.
The ExecuteCommand method allows you to execute internal tool button commands from scripts and custom tool buttons. For example, the following code causes the Layers dialog box to be displayed:
Application.ExecuteCommand ("layers")
For a list of all the valid commands, see the Internal Command Names topic.
Application.ExecuteCommand ("layers")
For a list of all the valid commands, see the Internal Command Names topic.