opening pdf with access

T

Tammie

As one of the report options, I would like the client to
be able to open a PDF file. The file is on a shared
drive - can someone share the syntax needed to do so. It
looks like the Runapp would be the best bet?
 
D

Dirk Goldgar

Tammie said:
As one of the report options, I would like the client to
be able to open a PDF file. The file is on a shared
drive - can someone share the syntax needed to do so. It
looks like the Runapp would be the best bet?

If you have the path to the file, and the PDF extension is associated
with the appropriate program, you should be able to use
Application.FollowHyperlink to open the file. For example,

Dim strFilePath As String

strFilePath = "X:\Some Path\SomeFile.PDF"

Application.FollowHyperlink strFilePath
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top