I am trying to load a picture onto an image in a form.
The picture I want to load is on sheet1 of an Excel file.
I have searched Tek-Tips and all relevent threads except one show how to load a picture from a separate file
I have tried this
but it doesn't work. "Method or Data member not found." is the error I get.
Excel help files have led nowhere. Any help is appreciated.
The picture I want to load is on sheet1 of an Excel file.
I have searched Tek-Tips and all relevent threads except one show how to load a picture from a separate file
Code:
Image1.Picture = LoadPicture("C:\Foldername1\foldername2\picture.jpg")
I have tried this
Code:
Image1.Picture = LoadPicture(Sheet1.Picture1)
Excel help files have led nowhere. Any help is appreciated.