P
Pierre
Can I please get some help with this code. I would like to click on a picture
and have it open in Windows Image Viewer.
Private Sub Image501_Click()
If vbYes = MsgBox("Would you like to view the image " 7 _
"in the Image Viewer?", vbQuestion+vbYesNo+vbDefaultButton1, _
"View Image?") Then
Dim oApp As Object
Set oApp = CreateObject ("unsure_what_ImageViewer_Is.Application")
oApp.Visible = True
oApp.Documents.Open "T:\\name\anothername\[txtbox_with_imagename]
End If
and have it open in Windows Image Viewer.
Private Sub Image501_Click()
If vbYes = MsgBox("Would you like to view the image " 7 _
"in the Image Viewer?", vbQuestion+vbYesNo+vbDefaultButton1, _
"View Image?") Then
Dim oApp As Object
Set oApp = CreateObject ("unsure_what_ImageViewer_Is.Application")
oApp.Visible = True
oApp.Documents.Open "T:\\name\anothername\[txtbox_with_imagename]
End If