Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to control an object instantiated from Excel with VBA and
sendkeys to it. But cannot get it to work. All that happens when I step through it in the VB Editor is that the sendkeys data are sent to the VBEditor window. I can fire up a window cmd.exe and activate it with AppActivate but nothign else goes to it. Anyone help on this one?? Bobsa |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sendkeys will always send to the active window. When you are in the VBE,
that is the active window, that is where they go. Nothing you can do about that. Show the code and tell us what is required and what you get. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Bobsa" wrote in message om... I'm trying to control an object instantiated from Excel with VBA and sendkeys to it. But cannot get it to work. All that happens when I step through it in the VB Editor is that the sendkeys data are sent to the VBEditor window. I can fire up a window cmd.exe and activate it with AppActivate but nothign else goes to it. Anyone help on this one?? Bobsa |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run Macro from Command line | Excel Discussion (Misc queries) | |||
Q: command line in OE | Excel Discussion (Misc queries) | |||
SendKeys command not focusing on the correct open program | Excel Programming | |||
Command Line Arguments | Excel Programming | |||
DOS Command Line | Excel Programming |