New Forum | Previous | Next | (P-PDF) General
Topic: linking from Excel cell to PDF destinations
Conf: (P-PDF) General, Msg: 114315
Date: 6/29/2004 02:14 AM
I am trying to create a hyperlink from an excel cell to a PDF that does more than just open the PDF. I want it to open the PDF to a destination.
The doc below seems to say that you can do this, if the target and destination files are running in a browser, but it fails.
Adobe Systems Technical Document 315385
Title: How to Link from an HTML Page to a Specific Page in PDF File
HTML pages can contain links to PDF files that enable you to view the files by using an Adobe Acrobat 4.0-or-later product from within Netscape Navigator or Microsoft Internet Explorer. You can also view the files by using the Acrobat product as a helper application in which PDF files appear in a separate Acrobat window. By default, the PDF file opens to the first page. To open the PDF file to a specific page, you can use named destinations in the PDF file. You can also target an HTML link to a specific PDF page by adding the page number to the end of the URL in the link . When you target an HTML link to a specific PDF page, however, the link works only when you view the PDF file within the browser.
Using Named Destinations
Named destinations are specific instructions in a PDF file for opening files to a specific page. You name the specific page (the destination) in the PostScript file from which you're creating the PDF file using pdfmark operators.
Acrobat 4.0 and later include a Named Destinations command. For information about this command, see the "Working with destinations" section in the Acrobat online guide on page 101 (Acrobat 5.0), page 254 (Acrobat 4.05x), or page 245 (Acrobat 4.0).
When a PDF file includes a named destination, you can refer to the named destination from an HTML page. (In Internet Explorer 4.0 or later, files must be on a Web server for named destinations to function.) To refer to the named destination, add #name to the end of the link from the HTML page. Use the same name you specified in the Named Destination dialog box.
(Use correct capitalization because references to named destinations in PDF files are case sensitive.)
Note: The Acrobat 4.x online guides incorrectly state that you must use the following format:
You do not need to include namedest= in the URL. If you do, the PDF file opens to the first page, not to the named destination.
Targeting an HTML Link to a Specific Page in a PDF File To target an HTML link to a specific page in a PDF file, add #page=[page number] to the end of the link's URL. For example, the URL
http://myserver.com/myfile.pdf#page=4 opens page 4 of a PDF file named myfile.pdf.