Using AppActivate and Sendkeys in VBA shell command

后端 未结 6 1023
一个人的身影
一个人的身影 2021-01-05 16:30

I want to switch back and forth between application with the shell command in VBA. I am using SendKeys to do stuff in process A then move to process B, then to process A the

6条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-05 16:50

    You forgot to add "DoEvents" between each sendkeys and kind of delay/wait period, to give it some time to execute.

提交回复
热议问题