The information in this article applies to:
SYMPTOMSWhen you open a workbook in Microsoft Excel 97, you may receive the following error message: If you delete the Visual Basic macro specified by the error message and then attempt to run a macro, compile your Visual Basic project, or save and close the workbook, you may receive the following error message: If you click Details, you receive an error message similar to either of the following:
CAUSE
The first problem occurs if a module in your workbook contains two or more
subroutines with the same name. You receive the error message when you
attempt to run a subroutine in the workbook, when you close the workbook,
and when you open the workbook.
-and- -and- WORKAROUND
To prevent these problems from occurring, you must eliminate the duplicate
subroutine names from the modules in the workbook. Because this process may
cause invalid page faults to occur, it is strongly recommended that you
close all open workbooks before performing these steps.
When you reopen the workbook, you should not receive the "Ambiguous name detected" error message. If you do, it may be necessary to rename all of the subroutines in the workbook. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. MORE INFORMATION
In Microsoft Excel 97, a workbook can contain multiple subroutines with the
same name. However, if a single Visual Basic module contains two or more
subroutines with the same name, Microsoft Excel cannot distinguish between
the two macros, and you will receive the "Ambiguous name detected" error
message.
Additional query words: 97 XL97
Keywords : kberrmsg kbprg xlvbainfo xlgpf |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |