Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Hyperlink to specific page in a pdf

I have read through a lot of discussions on this topic but haven't had any
luck yet.

I have tons of pdf files that are hundreds of pages and would like to be
able to create hyperlinks to specific pages in these docs. I want to keep
them as pdf files. I have created bookmarks in the pdf files but when I try
to hyperlink from excel to those bookmarks, I get this error message:

"Certain file formats, such as XML, do not support bookmarks so you cannot
create a hyperlink to a bookmark in a file that does not support bookmarks.
You can either hyperlink to the file without any bookmarks, or change the
file format so you can insert bookmarks into and hyperlink to the bookmark."

This confuses me because the file isn't an XML, its a pdf. Can anyone help
me out?

Thanks,
Brian
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Hyperlink to specific page in a pdf

Hi,

AFAIK this can't be done the way you are trying but here's a UDF that does
it provided you happy to open with Internet explorer.

You would call this using the full path and page number

=GoToPDFpage("c:\Somefile.pdf",4)

Function GoToPDFpage(Fname As String, pg As Integer)
Set IE = CreateObject("InternetExplorer.Application")
With IE
.Navigate Fname & "#page=" & pg
.Visible = True
End With
End Function
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"bwjohnson1" wrote:

I have read through a lot of discussions on this topic but haven't had any
luck yet.

I have tons of pdf files that are hundreds of pages and would like to be
able to create hyperlinks to specific pages in these docs. I want to keep
them as pdf files. I have created bookmarks in the pdf files but when I try
to hyperlink from excel to those bookmarks, I get this error message:

"Certain file formats, such as XML, do not support bookmarks so you cannot
create a hyperlink to a bookmark in a file that does not support bookmarks.
You can either hyperlink to the file without any bookmarks, or change the
file format so you can insert bookmarks into and hyperlink to the bookmark."

This confuses me because the file isn't an XML, its a pdf. Can anyone help
me out?

Thanks,
Brian

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Format page number in excel footer to start at a specific page # straitctrydncr Excel Discussion (Misc queries) 4 April 28th 23 07:45 PM
Hyperlink to specific page in a PDF file Tahani Excel Discussion (Misc queries) 1 April 8th 08 06:39 AM
External hyperlink to a specific page in a workbook Nimbus55 Excel Worksheet Functions 2 July 31st 06 01:07 PM
hyperlink to specific cell/row trav Excel Discussion (Misc queries) 5 March 10th 06 06:26 PM
Excel should let hyperlink of PDF jump to a specific page like IE. Kenn Tan Excel Discussion (Misc queries) 2 April 18th 05 09:23 AM


All times are GMT +1. The time now is 07:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"