CommandBarControl Methods (Office)


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.