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.