SendKeys Method Example

This example uses the SendKeys method to quit Microsoft Excel.

Application.SendKeys("%fx")