Visual Basic Reference
Invalid property array index (Error 381)
See Also
An inappropriate property array index value is being used. This error has the following cause and solution:
You tried to set a property array index to a value outside its permissible range.
Change the index value of the property array to a valid setting. For example, the index value of the List property for a ListBox must be from 0 to 32,766.