ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Variable Picture in a Form (https://www.excelbanter.com/excel-programming/349773-variable-picture-form.html)

Sami82[_24_]

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



All times are GMT +1. The time now is 08:55 AM.

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