Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Autofilter
I need to capture the state of autofilter
If it is on I need to turn it off if I use - Selection.Autofiler, the filter is turned off it it is on. If it is off, it gets turned on. I need to programatically add some columns (I know how to do that) but I can't if the autofilter is on. I need to check the state of Autofilter and if it is on, turn it off. How do I capture the state of Autofilter? any ideas? Thanks Glen |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Autofilter
Hi
try If ActiveSheet.FilterMode Then Also see: http://www.contextures.com/xlautofilter03.html -- Regards Frank Kabel Frankfurt, Germany wrote: I need to capture the state of autofilter If it is on I need to turn it off if I use - Selection.Autofiler, the filter is turned off it it is on. If it is off, it gets turned on. I need to programatically add some columns (I know how to do that) but I can't if the autofilter is on. I need to check the state of Autofilter and if it is on, turn it off. How do I capture the state of Autofilter? any ideas? Thanks Glen |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
excel 2007 autofilter change to 2003 autofilter functionality? | Excel Discussion (Misc queries) | |||
2007 excel autofilter back to 2003 autofilter? | Excel Discussion (Misc queries) | |||
2007 excel autofilter change back to 2003 autofilter? | Excel Discussion (Misc queries) | |||
2007 Autofilter worse than 2003 Autofilter | Excel Discussion (Misc queries) | |||
How to Sort within AutoFilter with Protection on (and AutoFilter . | Excel Discussion (Misc queries) |