XL98: No "Record at Mark" Feature in Microsoft Excel 98Last reviewed: March 13, 1998Article ID: Q182412 |
The information in this article applies to:
SYMPTOMSYou cannot record a Visual Basic macro "inside" another macro in Microsoft Excel 98 Macintosh Edition. This feature is available in earlier versions of Microsoft Excel.
CAUSEBecause of the major changes made to the Visual Basic environment in Microsoft Excel 98 Macintosh Edition, this functionality is no longer available.
WORKAROUNDIf you need to record a Visual Basic macro "inside" another macro, record your macro in the normal manner. After you are finished recording, start the Visual Basic Editor by pressing OPTION+F11. Then, select the code in the newly recorded macro, copy it, and paste it into your existing macro.
STATUSThis behavior is by design of Microsoft Excel 98 Macintosh Edition.
MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/supportnet/refguide/The following menu items are available in earlier versions of Microsoft Excel:
Menu Menu item Submenu -------------------------------------------------- Tools Record Macro Mark Position For Recording Tools Record Macro Record At MarkIn earlier versions of Microsoft Excel, you can use these menu items to record a Visual Basic macro inside another macro. For example, assume you have the following macro in a Visual Basic module:
Sub Test() MsgBox "This is a test macro." End SubIf you want to add more code to the "Test" macro, but you want to record the additional code, do the following:
These menu items, and the functionality they provide, are not available in Microsoft Excel 98 Macintosh Edition. Use the workaround shown earlier in this article to circumvent this limitation.
|
Additional query words: XL98 vbe
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |