Select Method

See Also         Example         Applies To

Selects the specified object.

Syntax 1

expression.Select

expression   Required. An expression that returns a Cell, Column, Row, Slide, SlideRange, or TextRange object.

Syntax 2

expression.Select(Replace)

expression   Required. An expression that returns a Shape or ShapeRange object.

Replace   Optional Long. True if the selection replaces any previous selection. False if the selection is added to the previous selection. True by default.

Remarks

If you try to make a selection that isn't appropriate for the view, your code will fail. For example, you can select a slide in slide sorter view but not in slide view.