ACC2000: Error Message Using AutoKeys MacroID: Q209197
|
If you use an invalid key combination in an AutoKeys macro in Microsoft Access, you may receive the following error message:
The key or key combination <. . .> in AutoKeys has invalid syntax or is not allowed.
Use the SendKeys syntax to specify the key or key combinations.
For the allowed key or key combinations, click Help.
When you open a database, Microsoft Access looks for a macro with the name AutoKeys. You receive an error if that macro contains a key combination that is not in the following list:
SendKeys Syntax Example Key Combination ^A or ^4 CTRL+any letter or number {F1} Any function key ^{F1} CTRL+any function key +{F1} SHIFT+any function key {INSERT} INS key ^{INSERT} CTRL+INS key +{INSERT} SHIFT+INS key {DELETE} or {DEL} DEL key ^{DELETE} or ^{DEL} CTRL+DEL key SHIFT+DEL key SHIFT+DEL key
The key or key combination +Z in AutoKeys has invalid syntax or is not
allowed.
Use the SendKeys syntax to specify the key or key combinations.
For the allowed key or key combinations, click Help.
For more information about AutoKeys, click Microsoft Access Help on the
Help menu, type "AutoKeys" in the Office Assistant or the Answer Wizard,
and then click Search to view the topics returned.
Additional query words: auto keys adk
Keywords : kberrmsg kbdta McrName
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: May 13, 1999