View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Cell data to a userform object

LoadPicture only works with picture files.

--
Regards,
Tom Ogilvy


"Syrous" wrote in message
...
Hey everyone!

I'm trying to take the information from a cell which contains a file

location and then using that location change the property of an object in
one of my userforms. The code I'm showing is the idea of what I want to do
but it's not right.

UserForm4.Label4.Picture = LoadPicture (Sheets("Sheet1").Cells(counter,

2).value)

If someone has a solution that'd be great. Thanks.