The project file 'item1' contains invalid 'item2' key value. Valid range is 0 to 'item3'

The range of key values is restricted. Keep the key value within the range specified.

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.