Thanks, I had thought about that, except I need to conserve system resources. This program will be run on a LOT of rows, and I suspect it will crash the computer or at least run extremely slowly.