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
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
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.
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top