Excel waiting for OLE action - how to resolve


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 hangs here (first line):

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