Figured it out. It was trying to ReDim the loading array before it had the correct variables... Once that was figured out, everything else works as it should. chem says he's got some ideas for speeding the process up a bit, so here's the updated and fully functional version.