SENDKEYS(string [,wait])

Sends keystrokes to an application.


stringThe keystrokes to send.
wait(Optional) True - keystrokes must be processed before control is returned to the procedure.
False - control is returned to the procedure immediately after the keys are sent.

REMARKS
* For more information, refer to Macros > SendKeys
* For the Microsoft documentation refer to docs.microsoft.com

Application.SendKeys "{~}"      'Enter  
Application.SendKeys "^{F1}" 'Ctrl + F1
Application.SendKeys "^s" 'Ctrl + S
Application.SendKeys ("^s") 'Ctrl + S

© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited Top