Excel: Copying Defined Names to Another Worksheet or Macro

Last reviewed: November 30, 1994
Article ID: Q63028

The information in this article applies to:

  • Microsoft Excel for the Macintosh, version 1.x, 2.2, 3.0, 4.0

SUMMARY

In Microsoft Excel, defined names do not copy to another worksheet or macro sheet unless the name is referred to in the copied selection.

For example, on a worksheet (or macro sheet), do the following:

  1. Define "test" as "=$A$1" (without quotation marks).

  2. Enter the formula "=test" (without quotation marks) into cell B1.

If cell A1 is copied to a new worksheet, "test" will not be defined on the new worksheet.

If cell B1 is copied to a new worksheet, "test" will be defined as "=$A$1" on this new worksheet.

MORE INFORMATION

This information also applies to a macro sheet. If a macro is copied to another macro sheet, the macro must be defined again on that new macro sheet (using the Define Name command on the Formula menu) so that a key command or a macro name can be used to run the macro.

For more information about the Formula Define Name command, see pages 263-264 in "User's Guide 1," version 4.0. If you are using version 3.0, refer to pages 217-218 in "Microsoft Excel User's Guide." If you are using Microsoft Excel 2.2, see pages 350-353 in "Microsoft Excel Reference" version 2.2 manual.


KBCategory: kbusage
KBSubcategory:

Additional reference words: 1.00 1.03 1.04 1.06 1.50 2.20 3.00 4.00


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 30, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.