Partager via


_Worksheet.Select Method

Selects the object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub Select ( _
    Replace As Object _
)
'Usage
Dim instance As _Worksheet
Dim Replace As Object

instance.Select(Replace)
void Select(
    Object Replace
)

Parameters

  • Replace
    Type: System.Object

    Optional Object. The object to replace.

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.

See Also

Reference

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace