Joel,
Thanks. I used the following code in my macro but still got the same error.
Now the error occurs at the combined condition statement.
Code:
Do While .readyState < 4 Or .Busy = True: DoEvents: Loop
Do While .Busy: DoEvents: Loop
Do While .readyState < 4: DoEvents: Loop
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200907/1