Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
adding a picture to a form Ruth Excel Discussion (Misc queries) 7 October 31st 08 06:04 PM
Macro for variable picture _Nate Excel Discussion (Misc queries) 1 December 12th 07 05:31 PM
User Form Picture mully New Users to Excel 3 May 23rd 05 08:32 PM
pasting screendump picture in VBA form R.G. Vervoort Excel Programming 2 April 15th 05 09:29 AM
Is it possible to open the VBA form with a link in a sheet and to pass variable from a cell to the VBA form? Daniel[_14_] Excel Programming 1 August 29th 04 01:20 PM


All times are GMT +1. The time now is 07:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"