Share via


_OLEObject.Select Method

Selects the object.

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

Syntax

'Declaration
Function Select ( _
    Replace As Object _
) As Object
'Usage
Dim instance As _OLEObject
Dim Replace As Object
Dim returnValue As Object

returnValue = instance.Select(Replace)
Object Select(
    Object Replace
)

Parameters

  • Replace
    Type: System.Object

    Optional Object. 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.

Return Value

Type: System.Object

See Also

Reference

_OLEObject Interface

_OLEObject Members

Microsoft.Office.Interop.Excel Namespace