View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Rech Jim Rech is offline
external usenet poster
 
Posts: 2,718
Default Microsoft Office Excel is waiting for another application to complete an OLE action

Adding Application.DisplayAlerts = False before invoking the other instance
may help.

--
Jim Rech
Excel MVP
"Mircea Pleteriu" wrote in message
...
| Hi,
|
| I'm developing a class which for a given filepath has to open the MS Excel
| and extend the context menu with a new item. When the item is clicked all
it
| has to do is to display a message box.
| Everything works fine. But if the message box is not confirmed (closed by
| the user) in a few seconds the "Microsoft Office Excel is waiting for
| another application to complete an OLE action" is fired by Excel.
|
| I want the customer to take his time to read the text and confirm (or not)
| the message box.
|
| How to handle this?
|
| Many thanks,
| Mircea
|
|