Name

commandbarcontrol.Enabled [= setting]

Synopsis

True enables a control, allowing it to be selected; False disables a control.

Tip

Setting a built-in control’s Enabled property to True does not enable the control if Excel’s state does not allow the control to be enabled.

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.