Worksheet.AutoFilter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a AutoFilter that provides information about filtered lists on the worksheet if filtering is enabled. Gets null
if filtering is off.
public:
property Microsoft::Office::Interop::Excel::AutoFilter ^ AutoFilter { Microsoft::Office::Interop::Excel::AutoFilter ^ get(); };
public Microsoft.Office.Interop.Excel.AutoFilter AutoFilter { get; }
member this.AutoFilter : Microsoft.Office.Interop.Excel.AutoFilter
Public ReadOnly Property AutoFilter As AutoFilter
Property Value
A AutoFilter that provides information about filtered lists on the worksheet if filtering is enabled; otherwise, null
.
Remarks
To programmatically enable filtering, use the AutoFilter method of the Range object or the AutoFilter method of a NamedRange object.