Excel vba to navigate around a PDF

dbruby

New Member
Joined
Jan 30, 2012
Messages
1
I am trying to make an excel (2010) macro that can navigate a pdf.

I want it to do the following:
-open the pdf
-navigate to a specific page.
-navigate to a different page.
-close the pdf.

The reason for navigating is not important. I am mostly looking for information about how to open, navigate and close the pdf.

I have got the pdf to open to a specific page by different means (Shell, IE.Navigate). But i cant get it to move to a different location in the pdf without having to close and reopen the pdf, which is slow.

If possible, provide simple vba code for:
-how to open the pdf
-how to navigate through the pdf from location to location.
-how to close the pdf
A simple hardcoded example would be appeciated.

Any help?

Thanks in advance.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,223,275
Messages
6,171,121
Members
452,381
Latest member
Nova88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top