CommandBars.GetVisibleMso Method
Returns True if the control identified by the idMso parameter is visible.
Syntax
expression.GetVisibleMso(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 visible.
| Visual Basic for Applications |
|---|
|