View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sami82[_24_] Sami82[_24_] is offline
external usenet poster
 
Posts: 1
Default Variable Picture in a Form


Hi All,

I'm trying to put a photo into an image box (called RecipePict). The
location of the picture is called from the spreadsheet after a user
selection in a different form. How do i get the picture to display. I
have tried the following lines with no luck:

RecipePict.Picture = LoadPicture(PictPath)

RecipePict.Picture = PictPath

frmRecipeDisplay.Picture = StdFunctions.LoadPicture(PicPath)

RecipePict.Picture = LoadPicture(PicPath)

Thank you for your help.


--
Sami82
------------------------------------------------------------------------
Sami82's Profile: http://www.excelforum.com/member.php...o&userid=27111
View this thread: http://www.excelforum.com/showthread...hreadid=498941