Table of contents
TOC
Collapse the table of content
Expand the table of content

CommandBarButton Methods (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Methods

NameDescription
CopyCopies a command bar button control to an existing command bar.
CopyFaceCopies the face of a command bar button control to the Clipboard.
DeleteDeletes the CommandBarButton object from its collection.
ExecuteRuns the procedure or built-in command assigned to the specified CommandBarButton control.
MoveMoves the specified CommandBarButton control to an existing command bar.
PasteFacePastes the contents of the Clipboard onto a CommandBarButton.
ResetResets a built-in CommandBarButton control to its original function and face.
SetFocusMoves the keyboard focus to the specified CommandBarButton control. If the button is disabled or isn't visible, this method will fail.
© 2018 Microsoft