![how to make hyperlinks work in pdf from word how to make hyperlinks work in pdf from word](https://media.gcflearnfree.org/content/566ada8faaa9180d6cfc0f77_12_11_2015/hyperlinks_format_insert.png)
- HOW TO MAKE HYPERLINKS WORK IN PDF FROM WORD HOW TO
- HOW TO MAKE HYPERLINKS WORK IN PDF FROM WORD PRO
- HOW TO MAKE HYPERLINKS WORK IN PDF FROM WORD CODE
- HOW TO MAKE HYPERLINKS WORK IN PDF FROM WORD WINDOWS
Public Function OpenPagePDF(sMyPDFPath As String, iMyPageNumber As Integer)
HOW TO MAKE HYPERLINKS WORK IN PDF FROM WORD 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
![how to make hyperlinks work in pdf from word how to make hyperlinks work in pdf from word](https://i0.wp.com/www.whatvwant.com/wp-content/uploads/2017/04/convert-word-to-pdf-by-preserving-hyperlinks-using-foxit-reader.png)
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.
![how to make hyperlinks work in pdf from word how to make hyperlinks work in pdf from word](https://support.content.office.net/en-us/media/b0b61ca5-fbb7-43ea-8d09-f7b92406fd8f.png)
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.
HOW TO MAKE HYPERLINKS WORK IN PDF FROM WORD PRO
You can use Adobe Acrobat or Nitro Pro PDF e.g.
HOW TO MAKE HYPERLINKS WORK IN PDF FROM WORD 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.
HOW TO MAKE HYPERLINKS WORK IN PDF FROM WORD WINDOWS
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.
![how to make hyperlinks work in pdf from word how to make hyperlinks work in pdf from word](https://i.ytimg.com/vi/rgNh-LMqkqU/maxresdefault.jpg)
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.