View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Shawn777 Shawn777 is offline
external usenet poster
 
Posts: 30
Default How can I get a macro to know when it false and run a different ma

If the macro / code turns out to be an error Then run a different macro.

The code is:
ActiveSheet.ShowAllData

but if it is already showing all then the macro shuts down with an error
message.
Instead I want it to realize it doesnt work and run a different macro
instead.