VBA Macro to Open PDF at Page Number or Named Destination

I have tried using a hyperlink within MS Word 2010 to open a PDF file, not at page 1, but at a particular PDF page number or at a PDF bookmark or a PDF named destination. I used the parameters suggested by the Adobe Support Document "PDF Open Parameters." For example, adding #page=5 to the PDF file name in the hyperlink should cause Adobe Acrobat to open the file and then jump to page five. However, I have found that Word 2010 is apparently not passing the parameter to Adobe. It is only passing the file name. Can someone suggest some Word VBA code that would pass both the file name and the Adobe File Open parameter. I figure I could then use a command button in Word that call the VBA code.
KenHadleyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

als315Commented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KenHadleyAuthor Commented:
als315,

Thank you! This works great for page numbers. I am wondering how I can add to it to also make it work for Bookmarks in a document. In other words, I would like to be able to either jump to a page number or to a bookmark when calling the macro.

If I need to make the bookmark a separate question and award you the 500 points for your first answer, I am glad to do that. just let me know.

Ken
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.