Properties of Command Bar Controls

CommandBar controls have a number of properties that determine how they look and work. This list contains some of the more useful CommandBar control properties:

i Caption: The text displayed for the control.

i FacelD: A number that represents a graphics image displayed next to the control's text.

i BeginGroup: True if a separator bar appears before the control.

i OnAction: The name of a VBA macro to execute when the user clicks the control.

i BuiltIn: True if the control is an Excel built-in control. i Enabled: True if the control can be clicked.

i ToolTipText: Text that appears when the user moves the mouse pointer over the control.

0 0

Post a comment