Programmatic ID string too long 'item'. The Programmatic ID must be 39 characters or less.

This error has the following causes and solutions:

  • The ProgID string of the ActiveX component can be no longer than 39 characters. The ProgID is created by concatenating the project name with the class module name.

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.