Application SendKeys Method

Purpose

This method sends keystrokes to the active application.

Syntax

SendKeys(Keys, Wait)

Required Parameters

Keys

The key or key combination you want to send to the application, as text.

Optional Parameters

Wait

True to have Microsoft Excel wait for the keys to be processed before returning control to the macro. False (or omitted) to continue running the macro without waiting for the keys to be processed.