Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default 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,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default 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,


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel waiting for OLE action - how to resolve Tom Joseph Excel Programming 0 March 5th 09 01:03 AM
Excel waiting for OLE action - how to resolve Tom Joseph Excel Programming 0 March 3rd 09 04:52 PM
Why would Excel react this way to this loop macro? Driving me crazy! Shaka215 Excel Programming 1 April 15th 08 02:11 PM
Excel is waiting for another program OLE Action Peter Swanton Excel Discussion (Misc queries) 0 December 5th 07 06:40 PM
Please help me --- Microsoft Excel is waiting for an OLE action erick-flores Excel Discussion (Misc queries) 0 February 6th 07 04:42 PM


All times are GMT +1. The time now is 03:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"