A Byte value. Gets or sets the result of the formula, assigned to the shape.
Applies to objects: Action
[Let] RetVal = object.Action [Let] object.Action = SetVal |
The Action property syntax has these parts:
Part | Description |
object | A reference to an instance of the shape. |
RetVal | A Byte value, the result of execution of the formula. |
SetVal | A Byte value, the result of execution of the formula. |
To set the formula, use the SetPropertyFormula method of the Shape Object.
This example demonstrates how the Action property can be used.
Dim s as Shape, MyAction as Action ' Assume the shape with ID 1 is on the active page. ' Also assume the shape contains at least one action. s = thisDoc.ActivePage.ShapeByID(1) |
See Also |
Action Object, Shape Object, SetPropertyFormula Method, ActionsNum Method, AddAction Method, Action Method, RemoveAction Method |