Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. Syntax SendKeys string, wait Key string String expression specifying the keystrokes to send.Wait Boolean value specifying the wait mode. To specify one of these characters, enclose it within braces ( ", True ' Send ALT+F4 to close Calculator. Send one or more keystrokes to the active window as if typed at the keyboard. The plus sign ( +), caret ( ^), percent sign ( %), tilde ( ~), and parentheses ( ) have special meanings to SendKeys. To represent the letters A, B, and C, use "ABC" for string. To represent more than one character, append each additional character to the one preceding it. For example, to represent the letter A, use "A" for string. To specify a single keyboard character, use the character itself. If True, keystrokes must be processed before control is returned to the procedure.Įach key is represented by one or more characters. If False (default), control is returned to the procedure immediately after the keys are sent. String expression specifying the keystrokes to send. The SendKeys statement syntax has these named arguments: Part You may have to register before you can post: click the register link above to proceed. Sends one or more keystrokes to the active window as if typed at the keyboard. If this is your first visit, be sure to check out the FAQ by clicking the link above.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |