Selection.ItemStatus property (Visio)

Indicates if an item in a Selection object is subselected, if the group to which it belongs is selected, or if it is the primary item. Read-only.

Syntax

expression. ItemStatus (Index)

expression A variable that represents a Selection object.

Parameters

Name Required/Optional Data type Description
Index Required Long Index of the item for which you want to retrieve the status.

Return value

Integer

Remarks

The ItemStatus property reports a combination of the following values.

Constant Value Description
visSelIsPrimaryItem &H1 The item is the primary item.
visSelIsSubItem &H2 The item is a subselected item.
visSelIsSuperItem &H4 The item is a superselected item.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.