SelectedNum Method

Returns the number of selected shapes on the page/group being displayed.

Applies to: Window object

Syntax

[[Let] selectedNumRet =] object.SelectedNum ()

The SelectedNum method syntax has these parts:

Part Description
object Required. An expression that returns a Window object.
selectedNumRet Optional. A Long type variable.

Remarks

This method is only effective if the window is of the document view type (see the Type property). For windows of all other types the SelectedNum method always returns 0.

 

See Also

Type property, Deselect method, DeselectAll method, Select method, SelectAll method