Table of contents
TOC
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."

Syntax

expression. Delete( Temporary )

expression Required. A variable that represents a CommandBarButton object.

Parameters

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

Concepts

CommandBarButton Object

Other resources

CommandBarButton Object Members

© 2017 Microsoft