編輯

共用方式為


Worksheets.Select(Object) Method

Definition

Selects the object.

public void Select (object Replace);
Public Sub Select (Optional Replace As Object)

Parameters

Replace
Object

Optional Object (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 cell or a range of cells, use the Select method. To make a single cell the active cell, use the Activate() method.

Applies to