ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   UserForm Image (https://www.excelbanter.com/excel-programming/445906-userform-image.html)

Charlotte E.[_3_]

UserForm Image
 
I'm trying to load a picture, located on a webserver, into a UserForm with:

Private Sub UserForm_Initialize()
Image1.Picture = LoadPicture("http://www.Wind1.dk/HTML/GFX/Pic.Kontakt.JPG")
End Sub

But for some reason this won't work???

How to load a picture from the web into a UserForm?


Thanks...

CE


isabelle

UserForm Image
 
hi CE,

look at the solution of Juan Pablo González
http://www.mrexcel.com/forum/showthread.php?t=116387


--
isabelle




Le 2012-04-27 14:12, Charlotte E. a écrit :
I'm trying to load a picture, located on a webserver, into a UserForm with:

Private Sub UserForm_Initialize()
Image1.Picture = LoadPicture("http://www.Wind1.dk/HTML/GFX/Pic.Kontakt.JPG")
End Sub

But for some reason this won't work???

How to load a picture from the web into a UserForm?


Thanks...

CE


Charlotte E.[_3_]

UserForm Image
 
Thanks Isabelle - used this a inspiration, and found a way of doing this :-)


CE



Den 28.04.2012 01:00, isabelle skrev:
hi CE,

look at the solution of Juan Pablo González
http://www.mrexcel.com/forum/showthread.php?t=116387




All times are GMT +1. The time now is 06:54 AM.

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