Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Image Loading | Excel Programming | |||
An error occurred while loading image with relationship ID ... | Excel Programming | |||
Image not loading when opening Workbook | Excel Discussion (Misc queries) | |||
Loading Pictures in Image box | Excel Programming | |||
loading a bitmap into an image control from the clipboard | Excel Programming |