Microsoft KB Archive/209197

= ACC2000: Error Message Using AutoKeys Macro =

Article ID: 209197

Article Last Modified on 11/29/2000

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q209197



Moderate: Requires basic macro, coding, and interoperability skills.



SUMMARY
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.



MORE INFORMATION
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:

Steps to Reproduce Behavior
 Create a new macro. Type +Z in the Macro Name column. Type Beep in the Action column. Save the macro as AutoKeys. Note that you receive the following error message:

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.



