CommandBars Property

See Also         Example         Applies To

Returns a CommandBars collection that represents the menu bar and all the toolbars in Word. Read-only.

For information about returning a single member of a collection, see Returning an Object from a Collection.

Remarks

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