Microsoft KB Archive/89602

= ACC: AutoExec Macro Runs Only When Database Is Opened =

Article ID: 89602

Article Last Modified on 1/18/2007

-

APPLIES TO


 * Microsoft Access 1.0 Standard Edition
 * Microsoft Access 1.1 Standard Edition
 * Microsoft Access 2.0 Standard Edition
 * Microsoft Access 95 Standard Edition
 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q89602



Novice: Requires knowledge of the user interface on single-user computers.



SUMMARY
The AutoExec macro will not run when a previously hidden database is unhidden or when a minimized Database window is maximized again.

The AutoExec macro will run only when a database that contains an AutoExec macro is opened. It will not run at any other time unless you call it from the Database window, from code, or from another macro.

