Enabled Property (CommandBarButton Object)

Object: CommandBarButton Object

Access: Read/Write

Enable or disable the commandbar button. Only user-defined command can be enabled / disabled by this property.

Usage

CommandBarButton.Enabled = True | False

Arguments

None.

Return Values

Boolean. If True, the command bar button is enabled. If False, the command bar button is disabled.