VariablesNum Method

Returns the number of user-defined variables in the shape.

Applies to: Shape object

Syntax

[[Let] coutnRet = ] object.VariablesNum ()

The VariablesNum 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 variable, the VariablesNum method returns 0.

 

See Also

AddVariable method, Variable method, RemoveVariable method, Variable object