ACC: Using SendKeys to Simulate Hot Keys Fails If in Uppercase
Article ID: 140789
Article Last Modified on 1/19/2007
APPLIES TO
- Microsoft Access 2.0 Standard Edition
- Microsoft Access 95 Standard Edition
- Microsoft Access 97 Standard Edition
This article was previously published under Q140789
SYMPTOMS
Moderate: Requires basic macro, coding, and interoperability skills.
When you use the SendKeys statement to send keystrokes to the user
interface in Microsoft Access and you use the CTRL key designation (^)
in combination with uppercase characters, the action fails silently.
RESOLUTION
Use lowercase letters in SendKeys statements when simulating user
interface key combinations that use the CTRL key designation.
STATUS
This behavior is by design.
REFERENCES
For more information about the SendKeys statement, search the Help Index
for "SendKeys statement."
Keywords: kbbug kbprogramming KB140789