Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

_Document.CommandBars Property

Returns a CommandBars collection that represents the menu bar and all the toolbars in Microsoft Word.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
ReadOnly Property CommandBars As CommandBars
Dim instance As _Document
Dim value As CommandBars

value = instance.CommandBars

Property Value

Type: CommandBars

Use the CustomizationContext property to set the template or document context prior to accessing the CommandBars collection.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.