Worksheet.FilterMode property (Excel)
True if the worksheet is in the filter mode. Read-only Boolean.
Syntax
expression.FilterMode
expression A variable that represents a Worksheet object.
Example
In the following example, the code returns True if the worksheet is in the filter mode.
Dim Worksheet1 As Worksheet
Dim returnValue As Boolean
returnValue = Worksheet1.FilterMode
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.