XL97: No "Record at Mark" Feature in Microsoft Excel

ID: Q157958

The information in this article applies to:

SYMPTOMS

You cannot record a Visual Basic for Applications macro within another macro in Microsoft Excel 97. This feature is available in earlier versions of Microsoft Excel.

CAUSE

Because of the major changes made to the Visual Basic for Applications environment in Microsoft Excel 97, this functionality is no longer available.

WORKAROUND

If you want to record a Visual Basic for Applications macro within another macro, follow these steps:

1. Record your macro.

2. Start the Visual Basic Editor by pressing ALT+F11.

3. Select the code in your newly recorded macro, copy it, and paste it

   into your existing macro.

MORE INFORMATION

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 Mark

In earlier versions of Microsoft Excel, you can use these menu items to record a Visual Basic for Applications macro within another macro.

For additional information, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q108060
   TITLE     : XL: Recording a Visual Basic Macro in an External Module

These menu items, and the functionality they provide, are not available in Microsoft Excel 97. To circumvent this limitation, use the steps shown in the "Workaround" section of this article.

Additional query words: XL97 vbe

Keywords          : kbprg kbdta xlui KbVBA kbfaq
Version           : WINDOWS:97
Platform          : WINDOWS
Issue type        : kbprb

Last Reviewed: February 14, 1999