If you are talking about the main Access window (not the VBA code window):
1. Create a macro.
2. In the Macro Name column, enter:
{F1}
(If you don't see a Macro Name column, go to the View menu.)
3. In the Action column, choose an action such as:
beep
4. Save the macro with the name:
AutoKeys
The correct name is important.