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.

* For more information, refer to the Macros > SendKeys page.
* For the Microsoft documentation refer to

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

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