• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Auto-Running a Macro - Is this possible?

This is just a general VBA question. Say I have a macro that I want to run under certain conditions, otherwise it isn't necessary. Is this possible?
 
Hi ,


This is what events are for. An Event statement in conjunction with the RaiseEvent statement allows conditional running of macros.


Narayan
 
Chip helps explain all the various events you can use.

http://www.cpearson.com/excel/events.htm
 
Back
Top