Attaching Auto_Open Macros to Templates in Excel 3.00Last reviewed: November 4, 1994Article ID: Q68722 |
The information in this article applies to:
SUMMARYAuto_Open and Auto_Close macros defined on a template will be defined on every new sheet based on that template.
MORE INFORMATIONIn the example below, the macro sheet EXAMPLE.XLM contains the following macros:
A1: Start_Up A2: =ALERT("Good Morning",1) A3: =RETURN()On the template MYFILES.XLT, Auto_Open has been defined as "=EXAMPLE.XLM!Start_Up". Each time a new sheet is created based on the template MYFILES.XLT, the Auto_Open macro Start_Up will run, displaying the an Alert box with the message "Good Morning".
REFERENCES"User's Guide 1," version 4.0,page 81 "Microsoft Excel User's Guide," version 3.0, page 555
|
KBCategory: kbprg kbmacro
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |