Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Send keystokes to different application

Is it possible to code keystrokes to a different application? Do I need to
use focus commands? Is there some better method in vba to use? If it's
possible, an example would be great. NT & XL97.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Send keystokes to different application

It is not very practical to use keystrokes across applications. I don't know
that it is even possible with VBA. Without some description of what you hope
to accomplish, it is difficult to offer an alternative method.

"Harley" wrote:

Is it possible to code keystrokes to a different application? Do I need to
use focus commands? Is there some better method in vba to use? If it's
possible, an example would be great. NT & XL97.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Send keystokes to different application

Use SendKeys:

http://msdn.microsoft.com/library/de...56c24affdd.asp

--
Gary's Student


"Harley" wrote:

Is it possible to code keystrokes to a different application? Do I need to
use focus commands? Is there some better method in vba to use? If it's
possible, an example would be great. NT & XL97.

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
what keystokes do i use to move from 1 worksheet to another? Martinc184 Excel Discussion (Misc queries) 2 July 25th 09 11:01 PM
Bypass: A program is trying to send mail using Item.Send prompt Vick Excel Discussion (Misc queries) 1 June 25th 09 03:31 AM
My send to in excel/word does not offer send as attachment Mstink Excel Discussion (Misc queries) 11 March 16th 06 02:49 PM
Send to command - change default email application? Helen Setting up and Configuration of Excel 2 August 16th 05 02:31 AM
How to send a self installing .xla within a .xls workbook application Belinda Excel Programming 0 March 3rd 04 10:48 PM


All times are GMT +1. The time now is 09:15 PM.

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

About Us

"It's about Microsoft Excel"