The information in this article applies to:
SUMMARYThe CLEAR keystroke is supported using the SendKeys statement or SendKeys method, even though this key is not included in the list of keys available in the Visual Basic Reference. To send the CLEAR keystroke using the SendKeys command in a Visual Basic, Applications Edition, procedure, use the key code {CLEAR} as in the following examples:
Note that you cannot use the SendKeys method (Application.SendKeys
command) in Microsoft Project.
MORE INFORMATION
The {CLEAR} key code is not documented in the Visual Basic Reference
because the CLEAR key no longer exists on most keyboards. However,
this keystroke is supported by the SendKeys command. If your keyboard
does not have a CLEAR key, using the SendKeys command with the
{CLEAR} key code does not have any effect.
REFERENCESFor more information about the SendKeys Statement or the SendKeys Method, choose the Search button in the Visual Basic Reference and type: SendKeys Additional query words:
Keywords : |
Last Reviewed: October 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |