ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   SendKeys not working for some program (https://www.excelbanter.com/excel-programming/427656-sendkeys-not-working-some-program.html)

Oshikawa

SendKeys not working for some program
 
Hello,

I am using ASPECT eWorforce Management in work and I am trying to automate
some of the keying I have used Sendkeys and AppActive but the SendKeys does
not work. I have tried the Code with other programs and it is fine.

Sub Macro1()

AppActive "Aspect Management"
Application.Wait("00:00:01")

Sendkeys "%F", false
SendKeys "^n", false

End Sub


The windows activate but nothing happens is there something that needs
adding for certain programs to accept keys?

I am using Windows XP along with Excel 2003.


Thanking you in advance


All times are GMT +1. The time now is 05:35 PM.

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