Cause
This error occurs if the index used to access an array property of a control is out of range; for example, listbox1.
Action
Change your application code to ensure that a valid array index is used; for example, if a list box is empty, accessing any array values will generate this error.