Thread: macro auto run
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Nigel Nigel is offline
external usenet poster
 
Posts: 923
Default macro auto run

In VBA you can choose which macro to run using any of the conditional
statements, so

If condition then
Call macro1
else
Call macro2
endif

of more simply for just one macro

If condition then call macro1

Cheers
Nigel

"nightshift12 " wrote in
message ...
is it possible to have a macro run automatically using an "if" statement
?


---
Message posted from http://www.ExcelForum.com/