A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
First of all, thanks to everyone who took the time to think about the problem and post replies.
I finally found the key to the solution in OssieMac's first post "ranges assigned to a variant produce a 1 based array". I assumed it was a 0 based array. I got a type mismatch error at runtime because the first row of each of my spreadsheets contains text column headings and I was inadvertently comparing that to numerical constants. After I adjusted the limits on the For loop and shifted the indices on all array references, the script worked. No other changes were required.
Thanks again.
Ed