Don't really know the answer, but in the absence of other replies ...
it may be that the code is running too fast for the server. Try adding a line of code after that for the connection to delay activity eg. 3 seconds :-
Code:
Application.Wait Now + TimeValue("00:00:03")
-----------------------
Regards BrianB
Most problems occur from starting at the wrong place.
Use a cup of coffee to make Windows run faster.
It is easy until you know how.