ActionsNum Method

Returns the number of user-defined actions of the shape.

Applies to: Shape object

Syntax

[[Let] countRet = ] object.ActionsNum ()

The ActionsNum method syntax has these parts:

Part Description
object

Required. An expression that returns a Shape object.

countRet Optional. A Long type variable.

Remarks

If the shape doesn't contain any user-defined actions, the ActionsNum method returns 0.

 

See Also

Action method, ActionsNum method, AddAction method, RemoveAction method