JugglerJAF
Active Member
- Joined
- Feb 17, 2002
- Messages
- 297
- Office Version
- 365
- Platform
- Windows
Say I have a data table and have applied an auto filter to Column A. That column contains hundreds of rows, but only 5 unique entries, let's call them Alpha, Bravo, Charlie, Delta, and Echo. I've applied an auto filter to only show those rows matching the criteria Alpha or Delta. So far, so good...
What I'm after is a method (some obscure keyboard shortcut I'm not aware of, or a VBA solution) that would enable me to "toggle" the selected values in the auto filter of the column containing the active cell.
So in this example, A1 would be selected, and I need to change filter criteria on column A from Alpha/Delta, to Bravo/Charlie/Echo.
I can't hard code it to those values, as the actual entries differ depending on which column I'm actually filtering on, but I'm looking for a way of changing everything that's selected to "not selected" and everything that's not selected to be selected.
I'm not sure this is possible, but it would make my life easier if there was a way to do it.
Any suggestions?
What I'm after is a method (some obscure keyboard shortcut I'm not aware of, or a VBA solution) that would enable me to "toggle" the selected values in the auto filter of the column containing the active cell.
So in this example, A1 would be selected, and I need to change filter criteria on column A from Alpha/Delta, to Bravo/Charlie/Echo.
I can't hard code it to those values, as the actual entries differ depending on which column I'm actually filtering on, but I'm looking for a way of changing everything that's selected to "not selected" and everything that's not selected to be selected.
I'm not sure this is possible, but it would make my life easier if there was a way to do it.
Any suggestions?