ACC: AutoExec Macro Runs Only When Database Is Opened (89602)



The information in this article applies to:

  • Microsoft Access 1.0
  • Microsoft Access 1.1
  • Microsoft Access 2.0
  • Microsoft Access for Windows 95 7.0
  • Microsoft Access 97

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.

REFERENCES

For more information about the AutoExec macro, search the Help Index for "AutoExec macros."

Modification Type:MajorLast Reviewed:5/9/2003
Keywords:kbinfo kbusage KB89602