Excel: Referencing the Active Worksheet in a MacroLast reviewed: November 2, 1994Article ID: Q25537 |
SUMMARYIn Microsoft Excel, to reference cells on the active worksheet in a macro, enter an exclamation mark (!) directly in front of the cell reference. For example, to select cell A1 on the active worksheet, use the following command:
=SELECT(!A1) |
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |