Excel macro to screencapture from another prog

apwdweb

Board Regular
Joined
Aug 23, 2002
Messages
86
Hello,

I'm new to this macro thing but i think it would be really useful.

What i'm trying to do is create a macro which will screen capture from another window, lets say yahoo finance to capture a stock chart. Then i'd like to put the image in excel. Excel will then resize the image. I'd like for the program to then go back to the website...click on a link and screen captures again. repeat process.

I have the pasting in Excel and resizing part down. But i seem to have difficulty finding out how i can get an excel macro to switch between another program and screen capture.

I was thinking if there is a command to move the mouse to a certain position and click, that would work...or if there is a more specific command that would be great.

I appreciate all your help.
Thanks in advance.
-Jon
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
How do you open the web page? If its URL (and that of the chart) is fixed, you could embed a picture in Excel that is linked to the original yahoo picture?

You may also want to browse around the service's web page for other options that would suit you better. It's quite possible that a tabular version of the data, with a fixed url would be available, and you can use "Data > Get External Data > Run Web Query". (pl. see help on web query.)
This message was edited by Swamp Thing on 2002-08-24 19:04
 
Upvote 0

Forum statistics

Threads
1,214,415
Messages
6,119,377
Members
448,888
Latest member
Arle8907

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