ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Import pictures from the web (https://www.excelbanter.com/excel-programming/338749-import-pictures-web.html)

Shatin[_2_]

Import pictures from the web
 
When I import external data from the web, I find that the pictures are all
gone. Is there anyway to include the pictures in the import?

In fact, if I have a link which is something like this
http://www.abc.com/1234.jpg, how can I import this jpg file into Excel,
using VBA or otherwise?

Thanks!




Tim Williams

Import pictures from the web
 
With ActiveSheet.Pictures
.Insert("http://www.abc.com/1234.jpg")
End With

Tim.

--
Tim Williams
Palo Alto, CA


"Shatin" wrote in message
...
When I import external data from the web, I find that the pictures are all
gone. Is there anyway to include the pictures in the import?

In fact, if I have a link which is something like this
http://www.abc.com/1234.jpg, how can I import this jpg file into Excel,
using VBA or otherwise?

Thanks!






Shatin[_2_]

Import pictures from the web
 
Tim,

Many thanks for such a prompt response!


"Tim Williams" <timjwilliams at gmail dot com wrote in message
...
With ActiveSheet.Pictures
.Insert("http://www.abc.com/1234.jpg")
End With

Tim.

--
Tim Williams
Palo Alto, CA


"Shatin" wrote in message
...
When I import external data from the web, I find that the pictures are

all
gone. Is there anyway to include the pictures in the import?

In fact, if I have a link which is something like this
http://www.abc.com/1234.jpg, how can I import this jpg file into Excel,
using VBA or otherwise?

Thanks!









All times are GMT +1. The time now is 09:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com