Deleted Project or Library Listed Twice In References (110755)
The information in this article applies to:
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0c
This article was previously published under Q110755 SYMPTOMS
If you delete a project (.XLS, .XLA) or library (.OLB) file from the
hard drive that is referenced by a Visual Basic module, the project
or library may be listed twice in the Available References list for
the Visual Basic module (even when you close and reopen the workbook
that contains the reference). This behavior may also occur if you move
a project or library to a directory on the hard drive other than the
directory you installed Microsoft Excel to, or to a directory that is
contained in your path statement in the AUTOEXEC.BAT file.
This behavior does not create a problem, but it may be confusing.
CAUSE
You may encounter the above behavior if you delete a referenced project or
library from the hard drive in the same session of Microsoft Excel while
the workbook containing the reference is closed, and if all of the
following conditions are true:
- The referenced project or library, and the project that references it
are located in different directories.
-and-
- The project that references the project or library is located in a
directory that is not contained in your path statement and is not the
directory to which you installed Microsoft Excel.
-and-
- The referenced project or library is located in your Microsoft Excel
directory, or a directory that IS contained in your path statement.
WORKAROUND
To remove the "extra" reference to the missing project or library,
you must exit Microsoft Excel.
NOTE: If the first reference to the missing project or library contains the
prefix "MISSING:", you can resolve this problem by clearing the check box
next to that reference.
REFERENCES
For a definition of a Referenced Project, choose the Search button in
Help and type:
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbProgramming KB110755 |
---|
|