Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Instructs the active object to perform an action.
Syntax
expression. ObjectVerb( _Verb_ )
expression A variable that represents an Application object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Verb | Optional | Long | The action that the active object should perform. |
Return value
Boolean
Remarks
For a list of the actions an object can perform, select the object, and then run the Object command.
To determine the number associated with a particular action, run regedit.exe by clicking the Windows Start button and then clicking Run. The RegEdit.exe file is in the %windir% folder.
Negotiate the registry tree to HKEY_CLASSES_ROOT\ AppName. DocumentName \protocol\StdFileEditing\Verb\ number, where AppName is the name of the application, DocumentName is the name of the document, and number is the key for an action. For Microsoft Office PowerPoint 2007 , for example, HKEY_CLASSES_ROOT\PowerPoint.Show.12\protocol\StdFileEditing\Verb\0 is the key for the Show command.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.