Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: Some Macros Don't Run After You Upgrade to Excel 2000


View products that this article applies to.

This article was previously published under Q258777

↑ Back to the top


Symptoms

After you upgrade from an earlier version of Microsoft Excel to Excel 2000, your macro does not run when you press the shortcut keys assigned to run it.

For example, when you press CTRL+Z to run your macro, it does not run.

↑ Back to the top


Cause

This problem occurs when your workbook contains macros written in either Lotus 1-2-3 or Quattro Pro for DOS macro commands. Microsoft Excel 2000 does not run these macro commands.

↑ Back to the top


Workaround

You can rewrite any of your Lotus 1-2-3 or Quattro Pro for DOS macros in Microsoft Visual Basic for Applications.

For additional information about rewriting your Lotus 1-2-3 macros in Visual Basic for Applications, click the article number below to view the article in the Microsoft Knowledge Base:
148240� XL: Visual Basic Equivalents for Lotus Macro Commands (WE1277)

↑ Back to the top


More information

Lotus 1-2-3 and Quattro Pro macros appear on the worksheet as a series of commands in a column. For example, the following macro commands
{Goto}A1~
{?}
{R}
{Cell-Enter "=A1*1.1"}
{CALC}
				
do the following:
  1. Select cell A1.
  2. Pause for you to enter a number.
  3. Select the cell to the right.
  4. Enter the formula =A1*1.1.
  5. Calculate the worksheet.
Earlier versions of Microsoft Excel run this type of macro when you assign a single keystroke to the macro, such as CTRL+W or CTRL+A. However, Microsoft Excel 2000 does not run Lotus 1-2-3 or Quattro Pro macros. You can automate these commands using Microsoft Visual Basic for Applications macro commands.

For additional information about macro compatibility with Lotus 1-2-3 macros, click the article number below to view the article in the Microsoft Knowledge Base:
258427� XL2000: Macro Compatibility with Microsoft Excel

↑ Back to the top


References

For more information about Lotus 1-2-3 macros and Excel, click Microsoft Help on the Help menu, type lotus macro in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

↑ Back to the top


Keywords: KB258777, kbprb, kbdtacode

↑ Back to the top

Article Info
Article ID : 258777
Revision : 5
Created on : 10/11/2006
Published on : 10/11/2006
Exists online : False
Views : 209