Share via


Range.Activate Method

Activates a single cell, which must be inside the current selection.

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

Syntax

'Declaration
Function Activate As Object
'Usage
Dim instance As Range
Dim returnValue As Object

returnValue = instance.Activate()
Object Activate()

Return Value

Type: System.Object

Remarks

To select a range of cells, use the Select method.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace