This documentation is archived and is not being maintained.
Determines if the specified command bar control is enabled.
office (in office.dll)
Dim commandBarPopup1 As CommandBarPopup
Dim returnValue As Boolean
returnValue = commandBarPopup1.Enabled
Dim sampleValue As Boolean
commandBarPopup1.Enabled = sampleValue
public boolean get_Enabled();
public void set_Enabled(boolean);
function get Enabled() : Boolean;
function set Enabled(Boolean);
This property returns True if the specified command bar control is enabled; False if it is disabled.
For built-in controls, if you set the Enabled property to True, the application determines its state, but setting it to False will force it to be disabled.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000