ACC: "SendKeys Requires Microsoft Access Utility Add-in" ErrorID: Q145773
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you carry out a SendKeys macro action, you may receive the following
error message:
The SendKeys action requires the Microsoft Access Utility Add-in to be loaded.
Solution
Run Setup to reinstall Microsoft Access and the Microsoft Access
Utility Add-in.
The Keystrokes argument of the SendKeys action has incorrect syntax. For
example, you may have enclosed the Keystrokes argument in quotation
marks ("), entered incorrect syntax, or misspelled some text.
If you receive the error message after converting a database created in an
earlier version of Microsoft Access, the specified keystrokes may not work
in Microsoft Access 7.0. or 97. Or, the Keystrokes argument may have been
enclosed in quotation marks which was not required in earlier versions but
was permitted. In Microsoft Access 7.0 and 97, however, you cannot enclose
the Keystrokes argument of a SendKeys macro action in quotation marks.
Open the macro in Design view and fix the Keystrokes argument as necessary.
For example, remove any quotation marks, correct a misspelling, or fix any
syntax errors.
NOTE: If you want to include a quotation mark as one of the keystrokes used
by the SendKeys macro action, you need to enter two sets of quotation marks
in the Keystrokes argument, as follows:
Macro1
--------------------------------------------------------------
SendKeys
Keystrokes: ""Building Applications with Microsoft Access""
Wait: No
-or-
Macro2
--------------------------------------
SendKeys
Keystrokes: Michael ""Mick"" Suyama
Wait: No
NOTE: If you use a SendKeys action to carry out menu commands or fill-in
dialog boxes, you may want to find an alternative method for the action.
The SendKeys' keystrokes may not work in future versions of Microsoft
Access because the user interface may change. Depending on your purpose for
using SendKeys, you may want to try one of the following methods:
Macro Name Macro Action
-------------------------
FillField GotoControl
SendKeys
FillField Actions
-------------------------------
GotoControl
ControlName: Text0
SendKeys
Keystrokes: "Sample text for SendKeys."
Wait: No
Form: Form1
-----------------------
Text box:
Name: Text0
Width: 3 in.
Command button:
Name: Button0
Caption: Fill Field
For more information about the SendKeys macro action, search the Help Index for "SendKeys action," or ask the Microsoft Access 97 Office Assistant.
Keywords : kberrmsg kbusage McrArg
Version : 7.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: April 23, 1999