Command BarControl Methods

Name Returns Parameters Description


CommandBar Control


Bar, Before




CommandBar Control

Bar, Before

Copies a CommandBarControl to an existing command bar.

Deletes the specified CommandBar Control from its collection. Set Temporary to True to delete the control for the current session only — the application will display the control again in the next session.

Runs the procedure or built-in command assigned to the specified CommandBarControl. For custom controls, use the OnAction property to specify the procedure to be run.

Moves the specified CommandBar Control to an existing command bar.






Resets a built-in CommandBar Control to its default configuration, or resets a built-in CommandBarControl to its original function and face.


Moves the keyboard focus to the specified CommandBarControl. If the control is disabled or isn't visible, this method will fail.

Was this article helpful?

0 0
The Accidental Blogging Millionaires

The Accidental Blogging Millionaires

Get Inspired By The Most Popular Bloggers Online! If You Want To Skyrocket Your Success With Business And Improve Your Overall Life You Need To Have A Look At The Accidental Blogging Millionaires! Business can be a fight, particularly when you’re trying to establish one online and like all fights, to succeed you must find the winning techniques and apply them.

Get My Free Ebook

Post a comment