Klash Ville
Board Regular
- Joined
- Sep 19, 2017
- Messages
- 83
Hello everyone,
I have a rather complex question... which is the following:
I have a table column header called "Column1" which has the following filter activated through VBA:
This filters for all cells whose color result from the following RGB code combination which was inicially formed through Conditional Formatting. Anyway, I cannot figure out the right way to build an if to detect either if that filter is being activated, or not.
I have a rather complex question... which is the following:
I have a table column header called "Column1" which has the following filter activated through VBA:
Code:
ActiveSheet.ListObjects("Table2").Range.AutoFilter Field:=.ListColumns("Column1").Index, Criteria1:=RGB(255, 199, 206),
Operator:=xlFilterCellColor
This filters for all cells whose color result from the following RGB code combination which was inicially formed through Conditional Formatting. Anyway, I cannot figure out the right way to build an if to detect either if that filter is being activated, or not.
Code:
Basicly, I want this:
If Column1.autofilter = RGB(255, 199, 206) Then
MsgBox "Yes"
Else
MsgBox "No"
End If
Last edited: