If you used the Access Options dialog box, created an AutoExec macro, or created an Open event procedure (event procedure: A procedure that is automatically executed in response to an event initiated by the user or program code, or that is triggered by the system.) to specify what happens when you open a Microsoft Office Access database, you can bypass those settings to regain full access to your database.
What do you want to do?
Bypass startup options
To bypass startup options, do the following:
- Hold down the SHIFT key while opening your database.
Note Depending on the macro security settings for your database, you might see one or more security messages on startup. You must hold down the SHIFT key until you close the security messages, or the startup options will not be bypassed.
Top of Page
View bypassed options
When you open a database while holding down the SHIFT key, many of the options that you set on the Current Database page of the Access Options dialog box are bypassed. To view these options, do the following:
- Click the Microsoft Office Button , and then click Access Options.
- Click Current Database.
The following table lists each of the settings on the Current Database page and how they behave when you open the database while holding down the SHIFT key.
||Behavior when startup options are bypassed
||The custom application title is not displayed.
||The custom application icon is not displayed.
||The designated form is not displayed, and none of the form's event procedures are run.
||Display Navigation Pane
||The Navigation Pane is displayed regardless of the setting.
|Fluent Ribbon and toolbar options
||The designated custom Fluent Ribbon is not displayed.
||Allow Full Menus
||All default Fluent Ribbon tabs are displayed regardless of the setting.
||Allow Default Shortcut Menus
||All default shortcut menus are displayed regardless of the setting.
Note If you add an Access macro named AutoExec to a database, the macro normally runs each time that you open the database. When you bypass the startup options, the AutoExec macro does not run.
Tip To prevent users from bypassing startup options, disable the Bypass (SHIFT) key by using Visual Basic for Applications (VBA) code to set the AllowBypassKey property of the database. For more information about setting the AllowBypassKey property, click the link in the See Also section of this article.
Top of Page