A Boolean value. Gets and sets the state of a check mark beside the command name on the menu.
Applies to: Action object, MenuItem object
[[Let] checkedRet =] object.Checked [Let] object.Checked = checkedSet |
The Checked property syntax has these parts:
Part | Description |
object | Required. An expression that returns a MenuItem object. |
checkedRet | Optional. A Boolean type variable. |
checkedSet | Required. An expression that returns a Boolean value. |
If True, displays a check mark beside the command name on the menu. If False, the check mark is not displayed.
This example contains a document-level script.
Dim s as Shape, MyAction as Action ' Assume the shape with ID 1 exists on the active page. ' Assume the shape contains at least one action. s = thisDoc.ActivePage.ShapeByID(1) |