다음을 통해 공유


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

See Also

Reference

ListObject Interface

Microsoft.Office.Tools.Excel Namespace