Maximum array dimensions (8) exceeded: <array name>

You either declared an array with more than eight dimensions or you used more than eight subscripts in referring to an array. An array can have a maximum of eight dimensions.

If the problem is that the declaration of the array specifies more than eight dimensions, reduce the number of dimensions in the declaration to at most eight. If the problem is that you used more than eight subscripts in a statement referring to an array, reduce the number of subscripts in that statement.