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

CommandBarButton.Delete Method (Office)

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

Deletes the CommandBarButton object from its collection.

Note The use of CommandBars in some Microsoft Office applications has been superseded by the new ribbon component of the Microsoft Office Fluent user interface. For more information, search Help for the keyword "ribbon."


expression. Delete( Temporary )

expression Required. A variable that represents a CommandBarButton object.


NameRequired/OptionalData TypeDescription
TemporaryOptionalVariantTrue to delete the control for the current session. The application will display the control again in the next session.

See also


CommandBarButton Object

Other resources

CommandBarButton Object Members

© 2018 Microsoft