Microsoft Office Suite
Returns or sets a string that determines where a command bar will be saved. The string is
defined and interpreted by the application. Read/write.
You can set the context property only for custom command bars. This property will fail if the
application doesn't recognize the context string, or if the application doesn't support changing
context strings programmatically.
True if the specified command bar or command bar control is enabled. Read/write.
For command bars, setting this property to True causes the name of the command bar to
appear in the list of available command bars.
For built-in controls, setting this property to True causes the application to determine the state
of the control. Setting this property to False forces the control to be disabled.
Returns the index number for a command bar. Read-only.
The position of the first command bar control is 1. Separators are not counted.
Returns or sets the height (in pixels) of a command bar or command bar control. Read/write.
An error will occur if you attempt to set the height property for a command bar that isn't in a
resizable state (that is, if it's docked or protected from resizing).
Returns or sets the distance (in pixels) from the left edge of the specified command bar or
command bar control to the left edge of the screen. Returns the distance from the left side of
the docking area. Read/write.
Returns the name of a built-in command bar as it's displayed in the language version of the
container application, or returns or sets the name of a custom command bar. Read/write.
Note If you attempt to set this property for a built-in command bar, an error occurs.
The local name of a built-in command bar is displayed in the title bar (when the command bar
isn't docked) and in the list of available command bars, wherever that list is displayed in the
If you change the value of the local name property for a custom command bar, the value of
name changes as well, and vice versa.