View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
cdupain cdupain is offline
external usenet poster
 
Posts: 1
Default Application.OnTime and Visual C++

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?