Application.OnTime and Visual C++

C

cdupain

I understand the way Application.OnTime works using VBA
Can I use this functionality within a Visual C++ environment
I want to execute non-pre-emptive functions written in C++

Using the Windows or Multimedia Timer, I can execute timed functions but this results in crashes when accessing Excel
An alternative would be to let the timer generate a Windows message which is handled by the Excel Application to trigger an event (like OnSelChanged). Is that a possiblility?
 

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