Number of indices exceeds the number of dimensions of the indexed array
The number of indices used to access an array element must be exactly the same as the rank of the array, that is, the number of dimensions declared for it.
Error ID: BC30106
To correct this error
- Remove subscripts from the array reference until the total number of subscripts equals the rank of the array.