XL98 Err Msg: "Name Conflicts with Existing Module" (183132)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q183132 SYMPTOMS
In the Visual Basic Editor in Microsoft Excel 98 Macintosh Edition, when
you attempt to create a reference from one project to another project, you
may receive the following error message:
Name conflicts with existing module, project, or object library
CAUSE
This behavior occurs when both projects have the same name.
RESOLUTION
To resolve this problem, rename the projects that have the same name. To do
this, use one of the following methods.
Method 1- In the Project window in the Visual Basic Editor, look at the projects
that are listed. You should see entries similar to the following
<VBAProject> (Workbook1)
<VBAProject> (Workbook2)
<VBAProject> (Workbook3)
where <VBAProject> is the name of the project.
- Click the entry for the project that you want to rename.
- On the Tools menu, click <VBAProject> Properties
where <VBAProject> is the name of the project.
- Click the General tab.
- In the Project Name box, type a new, unique project name.
NOTE: Do not use a project name that you use in any other workbook.
- Click OK.
- On the File menu, click Save <bookname>, where <bookname> is the name of
the workbook you modified.
- Repeat steps 1 through 7 for all open workbooks that contain Visual
Basic modules, class modules, or Userforms.
Method 2- In the Project window in the Visual Basic Editor, look at the projects
that are listed. You should see entries similar to the following
<VBAProject> (Workbook1)
<VBAProject> (Workbook2)
<VBAProject> (Workbook3)
where <VBAProject> is the name of the project.
- Click the entry for the project that you want to rename.
- In the Properties window, in the box to the right of "(Name)," type a
new, unique project name and press RETURN.
NOTE: Do not use a project name that you used in any other workbook.
- On the File menu, click Save <bookname>, where <bookname> is the name of
the workbook you modified.
- Repeat steps 1 through 4 for all open workbooks that contain Visual
Basic modules, class modules, or UserForms.
After you rename all projects with unique project names, the error message
no longer appears when you create a reference.
REFERENCES
For more information about changing project names in Microsoft Excel 98
Macintosh Edition, click Microsoft Visual Basic Help on the Help menu,
click the Index button in Visual Basic for Applications Help, type the
following text
project properties dialog box
click Show Topics, and then double-click the "General Tab (Project
Properties Dialog Box)" topic.
Modification Type: | Major | Last Reviewed: | 9/11/2002 |
---|
Keywords: | kberrmsg kbprb kbProgramming KB183132 |
---|
|