Hello,
I use this code to insert pictures
It works fine, only problem is that if I wanna cancel operation, it breaks and gives me an error, what to do??
Example, I double click image1, then it opens me a browser, but if I wanna cancel, it gives me an error-message.
I use this code to insert pictures
Code:
Private Sub Image1_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
Image1.Picture = LoadPicture(Application.GetOpenFilename)
End Sub
It works fine, only problem is that if I wanna cancel operation, it breaks and gives me an error, what to do??
Example, I double click image1, then it opens me a browser, but if I wanna cancel, it gives me an error-message.