![]() |
Excel waiting for OLE action - driving me crazy. Help appreciated
I am using Excel VBA to create and email PDFs using Outlook,
The code that follows generally works, but on occasion I get: Microsoft Office Excel is waiting for another application to complete an OLE action. I have tried some other approaches, eg code using early binding with same results. There is no dialog from Outlook needing a response that I can see. I hangs he Set OutApp = CreateObject("Outlook.Application") OutApp.Session.Logon Set OutMail = OutApp.CreateItem(0) Are there any workarounds or other ways of making this process more reliable? Thanks, |
Excel waiting for OLE action - driving me crazy. Help appreciated
Just a quick guess, but have you tried some DoEvents?
RBS "Tom Joseph" wrote in message ... I am using Excel VBA to create and email PDFs using Outlook, The code that follows generally works, but on occasion I get: Microsoft Office Excel is waiting for another application to complete an OLE action. I have tried some other approaches, eg code using early binding with same results. There is no dialog from Outlook needing a response that I can see. I hangs he Set OutApp = CreateObject("Outlook.Application") OutApp.Session.Logon Set OutMail = OutApp.CreateItem(0) Are there any workarounds or other ways of making this process more reliable? Thanks, |
All times are GMT +1. The time now is 08:00 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com