And now I AM getting the same error that you did.
When I changed to your code I get the SUBSCRIPT OUT OF RANGE error again.