Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default SendKeys to emulate ALT+TAB, TAB, TAB

How can I use VBA Sendkeys Method to achieve the below?

Using the keyboard, while holding down ALT key, I need to press TAB for 3
times in order to toggle to the 4th Window.

All below attempts failed, even if I add Application.Wait on the next line:
Application.SendKeys ("%{TAB}{TAB}{TAB}"), True
Application.SendKeys ("%{TAB}{TAB}{TAB}"), False
Application.SendKeys ("%{TAB}%{TAB}%{TAB}"), True
Application.SendKeys ("%{TAB}%{TAB}%{TAB}"), False

Thanks alot

--
Edmund
(Using Excel XP)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default SendKeys to emulate ALT+TAB, TAB, TAB

Sorry guys. I got it with "Application.SendKeys ("%{TAB 3}"), True"
It seems like F1 Help did better than my 2 reference books.

--
Edmund
(Using Excel XP)


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to emulate a ten-key entry in Excel? Garth Hales Excel Discussion (Misc queries) 9 November 28th 06 11:55 AM
How do u emulate nesting seven IF functions in a cell? Arpee Ong Excel Worksheet Functions 2 February 9th 06 06:30 AM
How do I emulate rightclick on a hyperlink in an Excel Macro Emulate RightClick on Hyperlink in Macro Excel Discussion (Misc queries) 0 January 2nd 06 08:40 AM
Emulate C/C++ struct in VBA? No Name Excel Programming 8 January 8th 04 08:24 PM
How can I emulate MROUND in VBA Jay Fincannon Excel Programming 1 August 8th 03 03:39 AM


All times are GMT +1. The time now is 01:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"