Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Returns True if the control identified by the idMso parameter is visible.
Note
The use of CommandBars in some Microsoft Office applications has been superseded by the new ribbon component of the Microsoft Office Fluent user interface. For more information, see Overview of the Office Fluent ribbon.
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.
Application.CommandBars.GetVisibleMso("Bold")
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.