That works until I run VBA code which pastes into a17:j5000 and then j5000 turns into j17 and I get stuck with a result of 17. What am I doing wrong?