Location of Valid SendKeys, Send.Keys, and On.Keys Codes

Last reviewed: July 14, 1995
Article ID: Q73177
The information in this article applies to:
  • Microsoft Excel for Windows, versions 2.x, 3.0, 4.0, 5.0
  • Microsoft Excel for OS/2, versions 2.2, 2.21, 3.0

SUMMARY

The list of key codes that can be used with the Visual Basic SendKeys Method and the Send.Keys and On.Key functions in Microsoft Excel can be found in the following locations:

Microsoft Excel verison 5.0 - SendKeys Method help topic in the Visual

                              Basic Reference

                            - On.Key help topic in the Microsoft Excel
                              Macro Functions Help

Microsoft Excel verison 4.0 - Page 302 of the "Microsoft Excel Function
                              Reference," version 4.0 manual.

Microsoft Excel version 3.0 - Page 165 of the "Microsoft Excel Function
                              Reference," version 3.0 manual.

Microsoft Excel version 2.x - Appendix on pages 373-375 of the "Microsoft
                              Excel Functions and Macros," version 2.2.

REFERENCES

"Microsoft Excel Function Reference," version 4.0, page 302

"Microsoft Excel Function Reference," version 3.0, page 165

"Microsoft Excel Functions and Macros," version 2.2, pages 373-375


KBCategory: kbusage
KBSubcategory:

Additional reference words: 2.0 2.00 2.01 2.1 2.10 2.2 2.20 2.21 3.0
3.00 4.0 4.00 5.00 xl5


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 14, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.