Microsoft KB Archive/61495

{| = Excel: Autoexec Macros Can Run Resident Macros =
 * width="100%"|

Last reviewed: November 2, 1994

Article ID: Q61495

SUMMARY
Autoexec macros can run macros that are located on the same macro sheet.

For example, if an autoexec macro named &quot;autorun&quot; is executed by a worksheet, a submacro called &quot;sub&quot; can be run within &quot;autorun&quot; by typing the following command in the autoexec macro:

=sub For more information on autoexec macros, see pages 618-620 in the &quot;Microsoft Excel User's Guide&quot; version 3.0 manual.
 * }