I'm trying to create a button that when clicked will open a .pdf file in Acrobat. This is the code that I'm using:
Code:
Shell "Acrobat.exe \\one.mda.mil\Public\OPIR\Lab_Ops_Formerly_TSC\Printed_Documents\test.pdf", vbNormalFocus
Access gives me an error 53, file not found error, but I know the file is there. I have successfully used the following code to open both Excel and Word files from that same directory:
Excel file
Code:
Shell "EXCEL.EXE \\one.mda.mil\Public\OPIR\Lab_Ops_Formerly_TSC\Printed_Documents\test.xlsx", vbNormalFocus
Word file
Code:
Shell "WINWORD.EXE \\one.mda.mil\Public\OPIR\Lab_Ops_Formerly_TSC\Printed_Documents\MasterEventDoneFile.doc", vbNormalFocus
Is there something unique about opening a PDF that I'm missing?