Geoff Taylor
Active Member
- Joined
- Dec 11, 2006
- Messages
- 257
I have code that passes criteria to a column filter.
" ActiveSheet.Range("$A$66:$G$13900").AutoFilter Field:=7, Criteria1:=Range("$B$8").Value"
What I would like to do is test the filter to ensure that there is actually some data that matches the criteria. I know I could loop down the entire range and test each cell but that would take additional time and I wondered if there was some property of the filter I could take advantage of instead.
" ActiveSheet.Range("$A$66:$G$13900").AutoFilter Field:=7, Criteria1:=Range("$B$8").Value"
What I would like to do is test the filter to ensure that there is actually some data that matches the criteria. I know I could loop down the entire range and test each cell but that would take additional time and I wondered if there was some property of the filter I could take advantage of instead.