CommandCategory.Add Method
Parent Object: CommandCategoryDescription
Method that adds a control definition or a command bar to the command category.
Syntax
CommandCategory.Add( Command As Object )Parameters
Name | Type | Description |
Command | Object | Input object to be added to this command category. This object can either be a ControlDefinition or a CommandBar. An error will occur if a built-in ControlDefinition or CommandBar is supplied. |