Fixed-length strings and use of the 'new' qualifier are not allowed for fields in a public user defined type defined in an object module

This error has the following cause and solution:

  • Fixed-length strings and the use of the 'new' qualifier are not allowed for fields in a public user defined type defined in an object module.

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.