Keyboard Short Cuts

flynjack

New member
Local time
Today, 11:47
Joined
Jul 14, 2008
Messages
7
This sounds simple, but I can't figure it out.

I have query that, after run, provides all of the info I need.

Here's my problem.

I want to simply "Select All" records, "Copy" these records, do an "ALT+TAB" (Or prefereably be able to have it slect the application i want to paste in), and then finally a "Paste".

Sounds easy enough. My fingers allow me to do it on the keyboard, but my brain doesn't allow me to do it VBA.

Can anyone give me the format for the VBA code to do just this. Thanks.

Flynjack
 
I'm pasting into a program called "Zilan". Hope this helps.
Thanks
flynjack
 
thought it might have been excel in which case it would have been easy.

You could use send keys

Code:
SendKeys "^C"
SendKeys "%{TAB}"
SendKeys "^V"
 

Users who are viewing this thread

Back
Top Bottom