Add error checking after every GetObject. I have seen instances where GetObject fails. Much of your code and the UDFs do not provide the proper error checking to insure the GetObject actually suceeded. If it does not then it should report the error.


After adding this code, let us know if the problem is trapped or if the problem continues. We can then look deeper.
_________________________
Home page: http://www.kixhelp.com/hb/