Excel waiting for OLE action - driving me crazy. Help appreciated


T

Tom Joseph

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 here:

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,
 
Ad

Advertisements


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