subscript out of range, can't see why

Printable View