The information in this article applies to:
SYMPTOMSWhen you select a drawing object that has a macro assigned to it, and then you click Assign Macro on the Tools Menu, the resulting Assign Macro dialog box may not show the correct reference to the assigned macro. CAUSEThis may occur if the sheet containing the drawing object has been copied to a new workbook, and the drawing object in question is on the copied sheet. The default Macro Name/Reference edit box will contain the name of the new workbook followed by an exclamation point and the name of the original macro. The default reference is pointing to the defined name registered in this workbook and not directly to the macro's source location. If you click the Edit button on the Assign Macro dialog box while the default name is referenced, the message "Only Macro Names are Valid" will appear. WORKAROUNDTo see the correct macro reference, follow these steps:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. REFERENCESMicrosoft Excel 7.0For more information about assigning a macro to a control, click Answer Wizard on the Help menu and type:how do I assign a macro to a controlMicrosoft Press, "Microsoft Excel/Visual Basic Programmer's Guide," version 7.0, Chapter 8, "Controls and Dialog Boxes" Microsoft Excel 5.0For more information about assigning a macro to a control in Microsoft Excel version 5.0, click the Search button in Help and type:Buttons, Creating"Visual Basic User's Guide," version 5.0, Chapter 11, "Controls and Dialog Boxes" Additional query words: 5.00a 5.00c
Keywords : kbprg xlmac xlnt xlwin |
Last Reviewed: October 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |