You can add a comand button to the sheet and use this code to populate the combobox with just .jpg files in the folder.
Private Sub CommandButton1_Click()
Dim MyFile As String, MyDir As String
'change the address to suite
MyDir = "C:\Dave's Pictures\"
MyFile = Dir(MyDir & "*.jpg") 'change file extension
ChDir MyDir
Do While MyFile <> ""
ComboBox1.AddItem MyFile
MyFile = Dir()
Loop
End Sub
Then in the combobox xhange use this code
Private Sub ComboBox1_Change()
Image1.Picture = LoadPicture(ComboBox1)
End Sub
If you have revised the properties of the combobox1, it may be best just to delete the combobox and draw another. Then change the code to whatever combobox number it is.
Bookmarks