Hi,
please help me with this problem of mine:
I have an excel-file with a lot of page-numbers of pdf's. I want to open the pdf on specific pages.
Problem is: Adobe Acrobat is not able to open a pdf and then go to a specific page, if the pdf is not "on the Internet", but on the same computer, i.e. this does not work: "#page=[page number]" (see: https://helpx.adobe.com/acrobat/kb/l...e-acrobat.html).
First possible solution may be modifying the hyper-link in a way that Acrobat it "thinks" the pdf is "on the Internet", but is in fact on the same computer. Is this possible?
Second possible solution may be using VBA: There are a lot of macros out there trying to solve this problem. For example this one:
(source: Michael (Micky) Avidan at: http://excel.tips.net/T003350_Linkin..._PDF_File.html)Please Login or Register to view this content.
In my excel-file (see below: "pdftest.xlsm" or without macro inserted: "pdftext.xlm") there is a column (column L), that lists the pdf-files. For example L2 is "Test_31", which refers to the file "C:\Testfiles\Test_31.pdf". In row 2 are the page-numbers for the file "Test_31.pdf". The numbers can have these formats:
a) content of cell M2 is "6". That means Acrobat should open "Test_31.pdf" and go to page "6"
b) content of cell N2 is "15f". That means Acrobat should open "Test_31.pdf" and go to page "15"
c) content of cell O2 is "45ff". That means Acrobat should open "Test_31.pdf" and go to page "45"
d) content of cell P2 is "120-432". That means Acrobat should open "Test_31.pdf" and go to page "120"
Is the following solution possible?: Modify the macro above in a way, that is uses variables, so this happens: When user clicks cell O2, then send this hyper-link "C:\Testfiles\Test_31.pdf" and this page-number "45" to the macro above, so that it should look like this:
and then run the modified macro.Please Login or Register to view this content.
Of course any other solution would be great as well.
Thank you very much in advance!
Bookmarks