I currently havea hotkey set up i an excel document, the contents of which is:
Dim retval
retval = Shell("c:\program files\adobe\acrobat 4.0\reader\acrord32 \\server\orders\" + ActiveSheet.Range(ActiveWindow.RangeSelection.Address) + ".pdf", vbNormalFocus)
This works fine if the user has Acrobat 4.0 installed into the default folder, but i want to open a PDF without having to specify the adobe exe.
Is this possible?
Dim retval
retval = Shell("c:\program files\adobe\acrobat 4.0\reader\acrord32 \\server\orders\" + ActiveSheet.Range(ActiveWindow.RangeSelection.Address) + ".pdf", vbNormalFocus)
This works fine if the user has Acrobat 4.0 installed into the default folder, but i want to open a PDF without having to specify the adobe exe.
Is this possible?