D
DDawson
I have a spreadsheet which contains a Combobox with an Index function to
display information from the selected record of another worksheet.
I have created a Form with a picture object and have added the following
code to the form:
Private Sub UserForm_Initialize()
Dim PicPath As String ' Declare Picpath
' The path and filename of the selected record's picture is contained within
cell F9
PicPath = ("F9")
frmLabel.Picture = LoadPicture("PicPath")
End Sub
Surprisingly it doesn't work.
Can someone help me with this and tell me what I have missed please?
Dylan Dawson
Scotland
display information from the selected record of another worksheet.
I have created a Form with a picture object and have added the following
code to the form:
Private Sub UserForm_Initialize()
Dim PicPath As String ' Declare Picpath
' The path and filename of the selected record's picture is contained within
cell F9
PicPath = ("F9")
frmLabel.Picture = LoadPicture("PicPath")
End Sub
Surprisingly it doesn't work.
Can someone help me with this and tell me what I have missed please?
Dylan Dawson
Scotland