Invalid control array index (Error 341)

You used an invalid index value to refer to an element in a control array. This error has the following cause and solution: