The next time you open the database, Microsoft Access runs this macro automatically.
Note If you don't want to run the AutoExec macro when you open the database, hold down the SHIFT key when the database opens.