Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2008

Tip: Looking for answers? Try searching our database.

Add Userform Image from Cell Picture Address

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Corey - 25 Jan 2008 03:19 GMT
I am in the process of filling numerous Textboxes when a value is selected from a Listbox.
This part is OK and working.

But now i have 2 x Images on the userform (Imag1 and Image2)

How can i have the picture address(location on my PC) to imput the picture into the Image?
The value in cell T1 will be something like:" \\Server\My Pictures\ABC\123\123A.jpg"

Corey....
Bernie Deitrick - 25 Jan 2008 14:16 GMT
Corey,

UserForm1.Image1.Picture = LoadPicture(Worksheets("Sheet1").Range("T1").Value)

HTH,
Bernie
MS Excel MVP

>I am in the process of filling numerous Textboxes when a value is selected from a Listbox.
> This part is OK and working.
[quoted text clipped - 5 lines]
>
> Corey....
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.