Export (0) Print
Expand All

Visual Basic for Applications Reference

Invalid property-array index (Error 381)

See Also    Specifics

A property value may consist of an array of values. This error has the following cause and solution:

  • A component's property array could have a lower bound of zero and an upper bound equal to the number of elements in the array minus 1. Alternatively, the lower bound could be 1 and the upper bound could equal the number of elements in the array.

    Check the component's documentation to make sure your index is within the valid range for the specified property.

For additional information, select the item in question and press F1.

Show:
© 2014 Microsoft