Name 'item' conflicts with existing module, project, or object library

This error has the following causes:

  • You loaded a form, User Control, User Document, or Property Page that contains objects with conflicting names. This can occur if the file was edited outside of Visual Basic.

  • This error can occur when you rename a form to the same name as the project, another form, or a module. It can also occur when you rename the project to the same name as a form or 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.