Image Loading
Nigel, this does not work for me. I get a compile error: wrong number of
arguments or invalid property assignment. Here is my code: Sub LoadPicture() Dim Fname As String Fname = ThisWorkbook.Path & "\Linda & Steve.jpg" LeaderCare.Image1.Picture = LoadPicture(Fname) End Sub -- Steve "Nigel" wrote: Me.Image1.Picture = LoadPicture(file path & filename) -- Regards, Nigel "Greg B" wrote in message ... How do you get a imagebox on a userform to load a picture from a file? I can not work this one out. I can not seem to work out the code needed to activate the code. Thanks Greg |
All times are GMT +1. The time now is 10:39 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com