XL2000: Application.SendKeys Does Not Wait for Key Processing (213534)
The information in this article applies to:
This article was previously published under Q213534 SYMPTOMS
When you use the SendKeys method to send keystrokes to the active
application, and you specify True for the wait argument so that the keystrokes are processed before control is returned to the macro, the macro continues without waiting for the keystrokes to be processed.
CAUSE
This problem occurs when you use the Sendkeys method for the Microsoft Excel Application object instead of the Visual Basic for Applications Sendkeys statement.
RESOLUTION
If you require that the keystrokes be processed before control is returned
to your macro, use the Visual Basic for Application SendKeys statement.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
| Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
|---|
| Keywords: | kbbug kbdtacode kbpending kbProgramming KB213534 |
|---|
|