I'm trying to create a Command Button that will open a jpeg with whatever default photo editor is on the user's machine. When I execute the following code I get the error "Object doesn't sup[port this obeject ofr method".
Dim CADObject As Object
Set CADObject = GetObject("C:\Impact Consulting\Computer Care Associates\H G Cockrill\Drawings\NoPic.jpg")
CADObject.Application.Visible = True
As always, any help will be greatly appreciated.
Thanks, Kopy
Dim CADObject As Object
Set CADObject = GetObject("C:\Impact Consulting\Computer Care Associates\H G Cockrill\Drawings\NoPic.jpg")
CADObject.Application.Visible = True
As always, any help will be greatly appreciated.
Thanks, Kopy