These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Link to specific page of pdf from Word

bat
Registered: Nov 4 2010
Posts: 1

Hello,
 
I would like to have a hyperlink in a word document on my local drive that takes me to a specific page or location within a large pdf.
 
I have tried several things, including adding #PageNumber after the link and adding 'Named Destinations' to the pdf then adding #Nameddestination after the link and have not succeeded.
 
Does anybody know if this is possible? We have large technical manuals in pdf format that we would like to link to without the user having to start at the first page everytime.
 
I am using Word 97 and Acrobat reader 9.4 for my testing.
 
Many thanks.
 
Bat.

My Product Information:
Acrobat Standard, Windows
daka630
Expert
Registered: Mar 1 2007
Posts: 1420
Hi,

You've some issues that'll preclude success.


MS Word does not support creation of an Office "Hyperlink" to a destination or page within a PDF.
It does support an Office "Hyperlink" to the file.

The "#" and 'parameter(s)' in a fully formed URI, to be followed by a browser is the implementation of Acrobat "Open Parameters". Any "link" from one file to another file is not a URI; consequently, the Open Parameters facility isn't something that can be used.

You can output a PDF from the Word file and then use Acrobat (not Adobe Reader) to post process for the desired link action.
You could use Acrobat to establish named destinations in the 'target' PDF(s).


Just an aside -
Acrobat 9 does not support Office 97 applications.
( See: http://kb2.adobe.com/cps/333/333504.php )


Be well...

T3CHR0B
Registered: Feb 16 2011
Posts: 1
You cant really do it with a Hyperlink as Daka360 points out. But, you could make a something that looks like a hyperlink. You could create a form field in the Word document. (for 07-Above Its On the Insert Tab, Quick Parts and choose Field. )

In the field box choose MacroButton, and the macro name is whatever you macro is called. You could then simply Underline the text, and change its color to look like a hyperlink.

Example:
Your Macro could look like this

Sub YourMacroName()
'Call the function by providing the Path to the PDF and Page number you want to open to
Call OpenPDFByPage("C:\MyPDFS\MyPDFfile.pdf", 12)
End Sub

Create the function that shells out to Acrobat, or Acrobat reader so you can pass your path and page number.

Public Function OpenPDFByPage(sMyPDFPath As String, iMyPageNumber As Integer)
Dim RtnCode, AdobePath As String
' Define you path to Acrobat or Acrobat reader in this example Im using Acrobat
AdobePath = "C:\Program Files\Adobe\Acrobat 9.0\Acrobat\acrobat"
RTNCODE = Shell(AdobePath & " /a " & Chr(34) & "page=" & iMyPageNumber & "=OpenActions" & Chr(34) & sMyPDFPath , 1)
End Function

Unlike a hyperlink, youd have to Double-Click it. But the advantage is you dont have to make a custom form, or add buttons to the page and it appears to be a hyperlink to your end users.


-Rob