Hi,
Below code works to identify that some column is filtered.
There will only be one column filtered at a time.
Below code works to identify that some column is filtered.
There will only be one column filtered at a time.
- Need it to instead of the message box to populate into cell A6 value "X is filtered", where X is a letter of a column being filtered. Otherwise A6 to show value "nothing filtered". Wondering how taxing is it to have this running, I have it in Worksheet_SelectionChange.
- For the X10 to fill with red background, where X is a letter of a column being filtered. (Once unfiltered, X10 needs to go back to prior color... but that color can vary, so this may not be feasible)...
- Upon right click into A6 to select X10, where X is a letter of a column being filtered.
VBA Code:
If (ActiveSheet.AutoFilterMode And ActiveSheet.FilterMode) Or ActiveSheet.FilterMode Then
MsgBox "filters on"
End If