I found an error when running the macro file
Edit it, single step through it using F8, and find the bad line.