I have passed my code to another co-worker and he said when he runs the script, he gets an ERROR on line 9544 - the problem, I have only 7100 lines in my script - I was wondering if there is a command/function, that I can put in my script to tell me what UDF file is creating the error? I am trying to drill it down, but was hoping that there was some indication within the error that would help - Line 9544 (File "path to exe"): Error: Variable used without being declared Edit: ps, I we