My script runs through the array to look if a certain value already exists in faultArray(x,1) and if it does then faultArray(x,2) gets incremented. If it does not exist in they array I redimension it to add another set of values to it with this line:
I get Run-time error '9': Subscript out of range...
thanks fot the help
Code:
ReDim Preserve faultArray(1 To UBound(faultArray, 1) + 1, 1 To 2)
I get Run-time error '9': Subscript out of range...
thanks fot the help