Missing array bound for: <array name>

You used a ReDim statement to define the dimensions of a dynamic array but included an extra comma (,) in the bounds list. For example:

Dim anArray()
ReDim anArray(,1,2)    ' Illegal comma at beginning of bounds list
ReDim anArray(1,2,)    ' Illegal comma at end of bounds list
ReDim anArray(1,,2)    ' Illegal comma immediately after another comma

Remove the misplaced comma.