XL5: Defining Name in Name Box Causes Type Mismatch ErrorLast reviewed: March 27, 1997Article ID: Q110857 |
5.00 5.00c 7.00
WINDOWS
kbusage
The information in this article applies to:
SUMMARYIn Microsoft Excel, if you enter a name in the name box on the formula bar and that name is one of the constants reserved for a Visual Basic module sheet, you may receive the following error message:
Microsoft Excel: Type MismatchYou will have the option to choose OK or Help. If you choose OK the name is created successfully.
MORE INFORMATIONIn the Microsoft Visual Basic Programming System, Applications Edition, several predefined constants make programming easier. These constants are descriptive and can be used as parameters in functions and methods in a Visual Basic macro. Choosing the Help button in the error message dialog box brings up Visual Basic Help and displays the Type Mismatch (Error 13) topic. The information in this help topic does not mention reserved constants as a possible cause for this error message.
WORKAROUNDThis problem does not occur when you use the Name command on the Insert menu to define a name.
REFERENCES"User's Guide," version 5.0, Chapter 10, "Names Make References Easier to Use" For more information about the name box, choose the Search button in Help and type:
name box |
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |