Share via


CommandBars.GetEnabledMso Method

Office Developer Reference
Aa434603.vs_note(en-us,office.12).gif  Note
The Microsoft Office Assistant has been deprecated in the 2007 release of the Microsoft Office system.

Returns True if the control identified by the idMso parameter is enabled.

Syntax

expression.GetEnabledMso(idMso)

expression   An expression that returns a CommandBars object.

Parameters

Name Required/Optional Data Type Description
idMso Required String Identifier for the control.

Return Value
Boolean

Example

The following sample returns True if the Bold button is enabled.

Visual Basic for Applications
  Application.CommandBars.GetEnabledMso(“Bold”)

See Also