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

I created a 100-page PDf file from scanned pages . Now I would like to create
a hyperlink in excel to jump to specific page in this document . I tried the
simulate this when working with Word when creating a bookmark and using the
hyperlink function which refers to the bookmark ... Can anybody help ?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Hyperlink to specific page in a PDF file

Forget hyperlinking

A mate and I solved this exact problem using a bit of VB (about which I
personally know nothing):

1. Enter the file name as a url (?) in the cell you want to hyperlink from,
followed by the page reference in this format

file:\\\[filepath]#page=[page number]

eg: "file:\\\c:\documents\test.pdf#page=2"

2. Create a macro and edit it by stepping into it:

Sub pdfpglink()
Worksheets("Sheet1").Activate
Shell ("C:\Program Files\Internet Explorer\iexplore.exe " + ActiveCell.Value)
End Sub

3. Close the VB editor and assign the macro a shortcut key, eg, ctrl-z

Activate the link by selecting the cell and then pressing the shortcut key.

This works on my Vista 32bit and 64bit machines, running office 07, but note
that on 64bit vista i could only get it working using 32bit iexplore, so your
file path is .../program files (x86)/ ... Don't know why, that's just part
of the joy of 64bit vista.

My mate reckons we can take a similar approach using the adobe reader .exe
using the shell command [full path of acrobat reader exectuable] " /a
page=[page#] [full path of .pdf file] but I am yet to get that working.

Now the only thing I need to do it to fine tune it so that iexplorer opens
the .pdf in a larger window. Can anyone help?


"Tahani" wrote:

I created a 100-page PDf file from scanned pages . Now I would like to create
a hyperlink in excel to jump to specific page in this document . I tried the
simulate this when working with Word when creating a bookmark and using the
hyperlink function which refers to the bookmark ... Can anybody help ?

Thanks

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
External hyperlink to a specific page in a workbook Nimbus55 Excel Worksheet Functions 2 July 31st 06 01:07 PM
Calling a specific worksheet from a hyperlink in a seperate file. TheChris Excel Worksheet Functions 0 February 2nd 06 01:48 AM
jump to hyperlink, extract value at specific destination in file Philip Excel Worksheet Functions 1 June 7th 05 10:37 AM
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
Hyperlink to specific sheet in Excel Web File jd17 Links and Linking in Excel 0 December 8th 04 09:03 PM


All times are GMT +1. The time now is 06:12 PM.

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

About Us

"It's about Microsoft Excel"