Yes - I did go step through it and found the problems. Everything is working now and I learned a great deal in the process. Here's the code for the whole import subroutine, in case it helps anybody else. If you see any glaring errors, feel free to point them out to me.
Thanks to everyone...