Subscript out of range (Error 9)

   

Elements of arrays and members of collections can only be accessed within their defined ranges. This error has the following causes and solutions:

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).