Share via


ListObject.Active Property (2007 System)

Gets a value that indicates whether a ListObject control on a worksheet is active; that is, whether the active cell is inside the range of the ListObject control.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public ReadOnly Property Active As Boolean
'Usage
Dim instance As ListObject 
Dim value As Boolean 

value = instance.Active
public bool Active { get; }
public:
property bool Active {
    bool get ();
}
public function get Active () : boolean

Property Value

Type: System.Boolean
true if the active cell is inside the range of the ListObject control; otherwise, false.

Remarks

Because there is no Activate method for the ListObject control, you can activate a ListObject control only by activating a cell range within the list.

.NET Framework Security

See Also

Reference

ListObject Class

ListObject Members

Microsoft.Office.Tools.Excel Namespace