Version Information
Version Added: Excel

Syntax

expression.SelectAll

expression A variable that represents a Shapes object.

Remarks

Example

This example selects all the shapes on myDocument and creates a collection containing all the shapes.

Visual Basic for Applications
Set myDocument = Worksheets(1) myDocument.Shapes.SelectAll
Visual Basic for Applications
Set sr = Selection.ShapeRange 

See also: