Just go through it styep by step and read the Manual. REDIM will redimensionize a variable, the new dimension will be one higher than what it used to be (pulled through UBOUND).Then the highest array element gets the group name. Then you go to the next group name in your group array.
_________________________
There are two types of vessels, submarines and targets.