Put in focus an application and copy clipboard

mtheriault2000

Well-known Member
Joined
Oct 23, 2008
Messages
826
Hello

An application windows is already opened. It is reduced when I clicked a cell in my Excel sheet.

How can I recall / select it and copy the content of the clipboard.

I think it could be done using the " vbNormalFocus", If so how do I know the path of the desired application.

Hope I'm clear

Martin
 

Some videos you may like

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Kenneth Hobson

Well-known Member
Joined
Feb 6, 2007
Messages
3,092
I don't know what Application window you mean. Is it Excel, MSWord, or what? One can use Activate and Wait to set the focus if we know the Windows title caption or maybe type of application. The copy part depends on the application type.
 

mtheriault2000

Well-known Member
Joined
Oct 23, 2008
Messages
826
Thanks for your comments

I resolved it using a hotkey in AutoHotKey. Macro in Excel is sending the hotkey value witch is recognized and execute the given task.

Martin
 

Watch MrExcel Video

Forum statistics

Threads
1,109,149
Messages
5,527,098
Members
409,745
Latest member
CharlesAlsop

This Week's Hot Topics

Top