Bewerken

Delen via


Invalid property-array index (Error 381)

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 (in Windows) or HELP (on the Macintosh).

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.