The information in this article applies to:
SYMPTOMSWhen you click a menu command while recording a Visual Basic for Applications macro, Microsoft Excel does not record the macro code for the menu command you clicked. When you run the recorded macro, it may not perform as expected. CAUSEThis problem occurs if while recording a macro, you click a menu command that was added to a menu by an add-in file included with Microsoft Excel 98 Macintosh Edition. For example, when you click Save As HTML on the File menu while recording a macro, the recorded macro does not contain code to run the macro assigned to the Save As HTML command. Microsoft Excel does not record the code because the menu command was added by the Internet Assistant Wizard add-in file. RESOLUTION
If you are creating a macro that executes code assigned to a menu
command, you must manually edit the macro and add the appropriate code.
Code assigned to a menu will be assigned using the OnAction property in
Microsoft Visual Basic for Applications.
STATUSThis behavior is by design in Microsoft Excel 98 Macintosh Edition. MORE INFORMATIONWhen you record a Visual Basic for Applications macro, Microsoft Excel 98 Macintosh Edition does not record the following menu commands.
Microsoft Excel 98 Macintosh Edition records the following menu commands.
Additional query words: XL98
Keywords : kbmacro kbdta xlvbahowto xlvbainfo OffVBA xladdins |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |