Application.AddMacroMenuItem
Method: AddMacroMenuItem(strMacro as String,strDisplayText as String)
Description
Adds a menu item to the Tools menu. This new menu item invokes the macro defined by strMacro. See also Example Scripting Project.
Errors
1111 | The application object is no longer valid. | |
1100 | Invalid parameter or invalid address for the return parameter was specified. | |
1108 | Number of macro items is limited to 16 items. |