Calling applications from word

V

Vingertop

Hi All,

We created a PDF creation macro.
It copies the word document to a UNC path where the PDF creation is getting handled.

It the polls the Directory awaiting the conversion and provides a message box stating the PDF awas created.
We now want Word to open the PDF document but don`t know how to caal acrobat from within Word.

Regards,

Vingertop.
 
H

Helmut Weber

Hi,
like that as a start, and in many other ways:
Sub CallAcrobat()
Dim a As String ' Acrobat
Dim f As String ' a file
Dim c As Variant
a = "c:\prg\adobe\acrobat-6\acrobat\acrobat.exe"
' your path, your application
f = "c:\faces.pdf" ' or whatever PDF
c = Shell(a & " " & f, vbMaximizedFocus)
End Sub
Greetings from Bavaria, Germany
Helmut Weber
"red.sys" & chr$(64) & "t-online.de"
Word 97, NT 4.0
 

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