- #CREATE HYPERLINK IN ADOBE ACROBAT TO AN OUTSIDE FILE HOW TO#
- #CREATE HYPERLINK IN ADOBE ACROBAT TO AN OUTSIDE FILE PDF#
- #CREATE HYPERLINK IN ADOBE ACROBAT TO AN OUTSIDE FILE PRO#
- #CREATE HYPERLINK IN ADOBE ACROBAT TO AN OUTSIDE FILE CODE#
- #CREATE HYPERLINK IN ADOBE ACROBAT TO AN OUTSIDE FILE WINDOWS#
#CREATE HYPERLINK IN ADOBE ACROBAT TO AN OUTSIDE FILE PDF#
You'll need Adobe Acrobat to view the PDF forms and applications on this page.
#CREATE HYPERLINK IN ADOBE ACROBAT TO AN OUTSIDE FILE WINDOWS#
The location of Acrobat Reader is the address found at the top of windows explorer and a \ at the end of the address, where is replaced with the name of the executable, an example of the location is C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32. You should see an executable named something like AcroRd32.exe or AcroRd64.exe When you find the folder you will need to navigate through to Reader 11.0 > Reader
Note that this will not work straight away because you will need to give the path of Acrobat Reader, this is answered in step 6 Public Function OpenPagePDF(sMyPDFPath As String, iMyPageNumber As Integer)
#CREATE HYPERLINK IN ADOBE ACROBAT TO AN OUTSIDE FILE CODE#
The whole code should look like this: Sub () RtnCode = Shell(AdobePath & " /a " & Chr(34) & "page=" & iMyPageNumber & "=OpenActions" & Chr(34) & " " & Chr(34) & sMyPDFPath & Chr(34), 1) The next piece of code goes after End Sub Public Function OpenPagePDF(sMyPDFPath As String, iMyPageNumber As Integer) PathPDF = Selection.Hyperlinks(1).Address TargetName = Selection.Hyperlinks(1).Name The code below goes between Sub () (where is replaced with the name you gave to the script) and End Sub Dim targetLink As String Navigate to the Developer tab and click on the Macros buttonĮnter the name of the macros script in the textbox under Macros name: and click on the button Create, the name can be anything you wantĪ new window should appear, you will need to enter the following code: To make the developer tab visible you need to navigate to File > Options > Customize Ribbon If you can see the Developer tab you can skip step 2, otherwise carry on to step 2 This link should help: Create hyperlink to a specific PDF page in Microsoft Word for WindowsĮdit:If the above link does not work or you are having problems following the steps or macros script from the website, then follow the steps below: You could use a macros script to help solve this problem, but you would have to assign a shortcut key to run the macros script while the hyperlink is selected. I would appreciate any more information anyone else can give on this issue as it has taken a lot of my time over the last eight years or so. something like '.\magazines\1985.pdf#page20' should also work. However, I can report that using relative addressing, e.g. Incidentally, there is also a way to use this plugin to edit all hyperlinks so that they will open PDF files at a given page without creating any PDF destinations, but it is rather complex and I have not seen the method documented in any Adobe literature, so I have avoided using it.įinally, if you are contemplating doing what I did, using absolute addresses on a hyperlink as above may not be very useful. The way I have done it is to use Adobe Acrobat with a plugin called Auto BookMark ( ) which allows you to automatically create destinations for every page of a PDF file. to this manually, but having to create a PDF destination manually for every page of a document is not a task I would wish on anyone.
#CREATE HYPERLINK IN ADOBE ACROBAT TO AN OUTSIDE FILE PRO#
You can use Adobe Acrobat or Nitro Pro PDF e.g.
#CREATE HYPERLINK IN ADOBE ACROBAT TO AN OUTSIDE FILE HOW TO#
This leaves the issue of how to create PDF destinations. I haven't tested the latest version of Word. So the best option I know of at the moment is to use LibreOffice to convert from Word files to PDF files and use a hyperlink of the format 'C:\Temp\Examplefile.pdf#page5' to avoid the problem with the equals sign. There used to be a program called Jaws PDF under Windows XP which did all conversions correctly, but I believe this is not on the market now. LibreOffice 5 does it properly if configured correctly, except that it changes 'page=5' to 'page3D5'. I know of few Word to PDF conversion programs which will create the links correctly so that the PDF is opened in Adobe Reader rather than a web browser. Normally one would want this second option for the kind of job I had in mind. Using the hyperlink format 'C:\Temp\Examplefile.pdf#page=5' as above in Word will work when the file is converted to PDF if the PDF file is opened in a web browser, or, if the file is opened directly in Adobe Reader, you have a PDF destination called 'page=#' (where # = the page number) set on every page of your destination PDF file. I have a collection of old magazines in PDF format and I wanted to create an index in Word with hyperlinks against each index entry, which I could convert to a PDF file, such that clicking on the link against any index entry in the PDF file would open the correct magazine PDF file at the correct page. This problem is one I have wrestled with for years and I did eventually get it to work.