R
Rich
I have a table in Access which contains a filepath and filename to open
either word or pdf documents. I use the following code (which works fine) to
open word documents:
Set oApp = CreateObject("Word.Application")
oApp.Visible = True
oApp.Documents.Open filepath & "\" & filename
I want to be able to use some similar code to open a pdf document. There
will be several users of this database. All will have acrobat but I cannot
guarantee it will be located in exactly the same place so I need something
that works similar to the above coding which is universal.
Anyone?
Rich
either word or pdf documents. I use the following code (which works fine) to
open word documents:
Set oApp = CreateObject("Word.Application")
oApp.Visible = True
oApp.Documents.Open filepath & "\" & filename
I want to be able to use some similar code to open a pdf document. There
will be several users of this database. All will have acrobat but I cannot
guarantee it will be located in exactly the same place so I need something
that works similar to the above coding which is universal.
Anyone?
Rich