title | ms.prod | ms.assetid | ms.date |
---|---|---|---|
CommandBarControl Methods (Office) |
office |
83382fd0-7a86-4730-8eb5-ca51a7d91a4d |
06/08/2017 |
Name | Description |
---|---|
Copy | Copies a command bar control to an existing command bar. |
Delete | Deletes the CommandBarControl object from its collection. |
Execute | Runs the procedure or built-in command assigned to the specified CommandBarControl control. |
Move | Moves the specified CommandBarControl to an existing command bar. |
Reset | Resets a built-in command bar to its default configuration, or resets a built-in CommandBarControl to its original function and face. |
SetFocus | Moves the keyboard focus to the specified CommandBarControl. If the control is disabled or isn't visible, this method will fail. |