Microsoft KB Archive/213592

= XL2000: SendKeys Slower When Compared to MS Excel 7.0 =

Article ID: 213592

Article Last Modified on 10/10/2006

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition

-



This article was previously published under Q213592





SYMPTOMS
When you run a Microsoft Visual Basic for Applications macro that uses the SendKeys statement in Microsoft Excel 2000, the macro may be slower compared to earlier versions of Microsoft Excel.



WORKAROUND
To work around this problem, use the SendKeys method for the Application object instead of the SendKeys statement. In Microsoft Excel 2000, the SendKeys method for the Application object executes more quickly than the Visual Basic SendKeys statement.

For example, if you use the following SendKeys command

SendKeys "^X"

replace it with the following command:

Application.SendKeys "^X"



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: send keys key XL2000

Keywords: kbbug kbdtacode kbpending kbprogramming KB213592

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.