Adds a new user-defined action to the user-defined action collection of the shape.
Applies to: Shape object
[[Let] actionRet = ] object.AddAction () |
The AddAction method syntax has these parts:
Part | Description |
object | Required. An expression that returns a Shape object. |
actionRet | Optional. An Action type variable. |
If the action was added successfully, the AddAction method returns the Action object that corresponds to the added user-defined action. Otherwise the method returns Nothing.
See Also |
Action method, ActionsNum method, AddAction method, RemoveAction method, Action object |