Executes a command on an OLE object and returns the status of the command execution using the IOLECommandTarget interface.
Syntax
object.ExecWB nCmdID, nCmdExecOpt, [pvaIn], [pvaOut]
Parameters
- object
- Required. An object expression that evaluates to an object in the Applies To list.
- nCmdID
- Required. A long integer that represents the identifier of the command to execute. For more information on command identifiers, see MSHTML Editing Command Identifiers.
- nCmdExecOpt
- Required. A long integer that represents the options set for executing the command.
- pvaIn
- Optional. A variant used for specifying command input arguments.
- pvaOut
- Optional. A variant used for specifying command output arguments.
Applies To
InternetExplorer, WebBrowser
See Also