ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Can "SendKeys" be blocked by an Application? (https://www.excelbanter.com/excel-programming/409105-can-sendkeys-blocked-application.html)

David_G

Can "SendKeys" be blocked by an Application?
 
Hi Excellers,

I have been working on an Excel VBA project today (at work) and I
tried to send keys to a Windows application (a non-Office app) but
they appeared to have no effect. As suggested by the help file I
wasn't stepping through the code, instead I ran it from the Excel
Interface - "Run Macro". I tried the Calculator example in the
SendKeys help file and it worked perfectly. This leads me to think
that somehow this SendKeys Statement is being blocked by the other
application. Is this what is happening? Is it possible to block
sendkeys?
Much appreciated
David_G


All times are GMT +1. The time now is 10:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com