Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Macro to open pdf file

Macro to open a pdf file

1 Solution

Accepted Solutions
Not applicable
Author

Hi wishes29,

go to button properties -> Actions -> External (Action Type) -> Launch (Actions).

Under Application enter "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe" (may be diff for you)

Under Filename enter the path of the pdf file.

Can u pls try this.

Thanks,

Robinson

View solution in original post

3 Replies
Not applicable
Author

Hi wishes29,

go to button properties -> Actions -> External (Action Type) -> Launch (Actions).

Under Application enter "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe" (may be diff for you)

Under Filename enter the path of the pdf file.

Can u pls try this.

Thanks,

Robinson

Not applicable
Author

Similarly we can write this script:

FUNCTION OpenPdf
set app = ActiveDocument.GetApplication
app.Launch "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe", "file path"
END FUNCTION

Not applicable
Author

Hi wishes29,

Yes you can...

But remember avoid macros, if you can achieve the same using triggers.

Thanks,

Robinson