Sends one or more keystrokes to the active window as if they had been entered at the keyboard
The SendKeys statement has two parameters. The first parameter keys is a string and is sent to the active window. The second parameter wait is optional and if omitted is assumed to be false. If wait is true the keystrokes must be processed before control is returned to the calling procedure.
The SendKeys statement has two parameters:
More: