Macro Toolworks Products Discussion Forums :: General Discussion
Welcome Guest   
 Subject :Alt + Tab Problems.. 16-06-2010 12:34:59 
tp2468
Joined: 16-06-2010 10:29:43
Posts: 1
Location
Hi All,

I have been using perfect keyboard for simple tasks transfered data from excel to various other
programs. To switch between programs, using alt + tab and this has worked with no issues.
My problem is when I try to use Alt+Tab to switch between windows within excel. When the macro
is played back, it has been read as pressing Alt and then Tab not simultaneoulsy which is
causing the macro to run incorrectly.

Any advice on how to solve this problem

Thanks

Tom
IP Logged
 Subject :Re:Alt + Tab Problems.. 18-06-2010 21:02:06 
petr
Joined: 15-10-2009 11:48:52
Posts: 152
Location
Hello,

you can use this command instead of Alt+Tab:

<actwin>("_vActiveWindowPrev_HWND",0,0,"no")

it should be more robust solution that will switch
you to a "previsouly active" window.

Best regards,
Petr
IP Logged
Page # 


Powered by ccBoard


Login and share your experience - send messages to forums and add comments to samples, commands and other resources.



Account is free of charge, easy to setup.