Have you tried setting a breakpoint in the code in the VBA editor and then triggering your macro? Set a breakpoint near the top (but not on a Dim declaration line) of the macro and then step through it, line by line, with Shift-F8. Use the locals and watch windows to track the various parameters inside the macro to isolate it to the line in question. Then we can look at it further.
Cheers,
David