Worksheet.Select method (Excel)

Selects the object.

Syntax

expression.Select (Replace)

expression A variable that represents a Worksheet object.

Parameters

Name Required/Optional Data type Description
Replace Optional Variant (used only with sheets). True to replace the current selection with the specified object. False to extend the current selection to include any previously selected objects and the specified object.

Remarks

To select a sheet or multiple sheets, use the Select method. To make a single sheet the active sheet, use the Activate method.

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.