Microsoft KB Archive/95455

= ACC: How to Send the Contents of a Control with SendKeys =

Article ID: 95455

Article Last Modified on 1/18/2007

-

APPLIES TO


 * Microsoft Access 1.0 Standard Edition
 * Microsoft Access 1.1 Standard Edition
 * Microsoft Access 2.0 Standard Edition
 * Microsoft Access 95 Standard Edition
 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q95455



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



SUMMARY
To specify the contents of a control or a field in the SendKeys action argument, you must precede the control or the field name with an equal sign (=) in the Keystrokes argument.



MORE INFORMATION
The following example will perform a SendKeys action and send the contents of Field0 as the argument to the action.

  Action      Keystrokes ---  SendKeys    =Forms!Form1!Field0

Additional query words: how to

Keywords: kbhowto kbusage KB95455

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.