Share via


OLEObject.Select Method (Excel)

Selects the object.

Syntax

expression .Select(Replace)

expression A variable that represents an OLEObject object.

Parameters

Name

Required/Optional

Data Type

Description

Replace

Optional

Variant

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

Variant

See Also

Concepts

OLEObject Object

OLEObject Object Members