Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I've been using macro that does not work well if I happen to have some of the
columns filtered (it works fine if auto filter is on but no columns are actually filtered). Is there a way to prevent the macro from running (and maybe displaying a prompt that says "unfilter"). After the prompt I do not want the macro to continue. I would then manually start it after unfiltering the columns. Thank you in advance. |
#2
![]() |
|||
|
|||
![]()
Hi Carl
In your macro you can use this to test if the filter is on If ActiveSheet.FilterMode Then -- Regards Ron de Bruin http://www.rondebruin.nl "carl" wrote in message ... I've been using macro that does not work well if I happen to have some of the columns filtered (it works fine if auto filter is on but no columns are actually filtered). Is there a way to prevent the macro from running (and maybe displaying a prompt that says "unfilter"). After the prompt I do not want the macro to continue. I would then manually start it after unfiltering the columns. Thank you in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro needed to Paste Values and prevent Macro operation | Excel Discussion (Misc queries) | |||
automatically running a macro | Excel Discussion (Misc queries) | |||
Running a VBA Macro | Excel Discussion (Misc queries) | |||
Is there a way to insert a formula, password or macro in an excel spreadsheet that will automatically delete the spreadsheet? | Excel Discussion (Misc queries) | |||
running totals in a macro for each month | Excel Worksheet Functions |