
Originally Posted by
ahartman
There was actually a slight bug in your second set of code. .FilterMode expects a worksheet as a parent. I changed it in blue to be ActiveSheet.
Interesting... the same would however work without issue in XL2007 (filtering is slightly different)

Originally Posted by
ahartman
What's the target area to focus on if I want to filter against column C, and if the sheet names aren't variations of the values in column C? i.e, if the column C value is Alice and the sheets for Alice are Chart 1, Chart 2, Chart 3, etc?
The name of the associated sheets is not really important (the code merely cycles the visible cells and unhides as appropriate) ... what is important is that you're referring now to Chart Objects in addition to (or replacement of) Worksheet objects.
On that basis the code would need to be altered such that instead of using:
you would declare as an Object... now either you can change Worksheet to Object in above line or if you're like me (anally retentive) you may opt to rename your variable in accordance with the type such that the above is removed and replaced by:
regardless you would need to alter the iteration from processing the Worksheet objects in the active workbook to all the Sheet objects in the active workbook, ie from:
To
If you do opt to change to oSt from ws then you must change all references to ws to be oSt.
I prefer to use notation of sorts in my variables so I can determine type from their name (o for Object, v for Variant, dbl for Double etc... each to their own)
Bookmarks