ListObject.Active Property
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 (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
ReadOnly Property Active As Boolean
bool Active { get; }
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.