ACC: Using SendKeys to Change Option Menus (101074)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q101074 Moderate: Requires basic macro, coding, and interoperability skills.
SUMMARY
In a Microsoft Access macro, a SendKeys action must precede the DoMenuItem
action when you need to send keystrokes to a dialog window. For example,
when a DoMenuItem action opens the Print dialog to change a printing
parameter, the SendKeys keystrokes remain in the buffer and do not run if
the SendKeys action follows the DoMenuItem action.
REFERENCES
For more information about SendKeys, search the Help Index for "SendKeys
action."
For more information about SendKeys keystroke syntax, search the Help
Index for "SendKeys statement."
Modification Type: | Major | Last Reviewed: | 5/6/2003 |
---|
Keywords: | kbinfo kbusage KB101074 |
---|
|