C++ SetEnableEvents(true) Question

P

pw

Hello,

I want to trigger an action in my application
using the Application Events. Namely the
WorkbookBeforeClose event.

I am working in C++.
After I 'SetEnableEvents(TRUE)'
Where/How do I route the WorkbookBeforeClose
event to my own handler?

Do I just add my code to the AppEvents
class handler or does _Application use
that class call anyway?
It seems to me that I would need to create
an instance of AppEvents to use.....

Thanks for any insight,

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top