SelectAll Method

Selects all shapes of the page or group displayed in the window.

Applies to: Window object

Syntax

[[Let] boolRet =] object.SelectAll ()

The SelectAll method syntax has these parts:

Part Description
object Required. An expression, that returns an instance of the Window object.
boolRet Optional. A Boolean 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 SelectAll method always returns False.

The SelectAll method selects all shapes of the page or group displayed in the window, and returns True if at least one shape has been selected in the result. If all shapes of the page or group displayed in the window are already selected, returns False.The inverse method to SelectAll is the DeselectAll method, which removes selection from all the shape of the page or group.

 

See Also

Type property, Deselect method, DeselectAll method, Select method, SelectedNum method