• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 13. Creating Macros > Creating an AutoKeys Macro

Creating an AutoKeys Macro

An AutoKeys macro allows you to redefine keystrokes within a database. With an AutoKeys macro you can map selected keystrokes to a single command or to a series of commands. Follow these six steps to build an AutoKeys macro:

1.
Open a new macro in Design view.

2.
Make sure the Macro Name column is visible.

3.
Enter a key name in the Macro Name column. Access Help defines the allowable keystroke combinations (see Figure 13.23).

Figure 13.23. A list of valid key stroke combinations for the AutoKeys macro.


4.
From the Action drop-down list box, select the macro action you want to associate with the key name. You can apply conditions and arguments just as you do for a normal macro. You can have Access execute multiple commands in one of three ways: associate multiple macro actions with a key name, perform a RunCode action, or perform a RunMacro action.

5.
Continue adding key names and macro actions to the macro as desired. Put one blank line after each key name to improve readability.

6.
Save the macro as AutoKeys. The moment you save the macro, Access places the key names in effect and remaps the keystrokes. The AutoKeys macro goes into effect automatically each time you open the database.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint