Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).

New Forum | Previous | Next | (P-PDF) General

Topic: linking from Excel cell to PDF destinations
Conf: (P-PDF) General, Msg: 114315
From: mac81
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.

Any ideas?

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 opens page 4 of a PDF file named myfile.pdf.

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Five visions of a PDF Day

In the world of PDFs or as we like to say Planet (of) PDF, a year isn't a real PDF year without an intense few days of industry knowledge sharing.

May 15, 2018
Platinum Sponsor

Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.


Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.