Scott
I have finally wised up and gone back and added the full path, which as you pointed out simplifies everything. The code you first showed me works perfectly and, with the full paths allows me to use as many image storage files as I like.
I have run into a problem when trying to add an error trap. This is what I used:
Private Sub OpenImageBtn_DblClick(Cancel As Integer)
Application.FollowHyperlink Me.DigitalFileName
If Application.FollowHyperlink = "" Then
MsgBox "File does not exist"
Else
Application.FollowHyperlink Me.DigitalFileName
End If
End Sub
I have something wrong as this code won't open the image. Also when I tried to change to a single click with the original code it also won't open the image.
Private Sub OpenImageBtn_Click(Cancel As Integer)
Application.FollowHyperlink Me.DigitalFileName
End Sub
Please straighten me out.
Walt