Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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.
Application.CommandBars.GetEnabledMso("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.