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

MsoEnvelope.CommandBars Property (Office)

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

Gets a CommandBars collection. Read-only.

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. CommandBars

expression A variable that represents a MsoEnvelope object.


The following example return the CommandBars collection from the MsoEnvelope object in Microsoft Word.

Dim cbars As CommandBars 
Set cbars = Application.ActiveDocument.MailEnvelope.Commandbars 

See also


MsoEnvelope Object

Other resources

MsoEnvelope Object Members

© 2018 Microsoft