Picture control

EDUCATED MONKEY

Board Regular
Joined
Jul 17, 2011
Messages
218
Hello I trying to put together some code that will copy and save a picture from the internet have copied it, then it needs to be renamed using the contents of a cell. and save to a folder on the C drive
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
More about the pictures these are freely available and not copy righted, I can copy rename and save them manually, as this take time to copy then type a new name for the selected picture then open folder and save it to that folder, I was hoping some as got some vba that will accomplish this, i have means of saving selected text which is

Worksheets("REMOVE UNWANTED ITEMS").Activate
Worksheets("REMOVE UNWANTED ITEMS").Range("A2").Select

ActiveSheet.PasteSpecial Format:="Text", LINK:=False, DisplayAsIcon:= _
False

but this does not give save picture option
 
Last edited:

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hello I trying to put together some code that will copy and save a picture from the internet have copied it, then it needs to be renamed using the contents of a cell. and save to a folder on the C drive
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
More about the pictures these are freely available and not copy righted, I can copy rename and save them manually, as this take time to copy then type a new name for the selected picture then open folder and save it to that folder, I was hoping some as got some vba that will accomplish this, i have means of saving selected text which is

Worksheets("REMOVE UNWANTED ITEMS").Activate
Worksheets("REMOVE UNWANTED ITEMS").Range("A2").Select

ActiveSheet.PasteSpecial Format:="Text", LINK:=False, DisplayAsIcon:= _
False

but this does not give save picture option


are these pictures in a browser or the workbook?

if in workbook sure, if in browser i would add the browser object and work from it (using web browser object)

please advise
 
Upvote 0
The pictures are in a browser ie or google chrome which ever would be the easest also once the picture has been saved need to close the connection other wise i end up with loads open, the pictures are of book authors all the stuff i have been putting to gether are for the same project
 
Upvote 0
The pictures are in a browser ie or google chrome which ever would be the easest also once the picture has been saved need to close the connection other wise i end up with loads open, the pictures are of book authors all the stuff i have been putting to gether are for the same project


thats a bit beyond my knowlegde. i know you can insert your own browser control and work from that but I dont know how to interface with external browsers. I would have thought vb.net would do that easier.

hope you find your answer
 
Upvote 0
can you give us the Url? and will the Url change? and how? are the pictures always in the same location?
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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