+ Reply to Thread
Results 1 to 4 of 4

Excel Hyperlink from a cell to a page in a pdf document

  1. #1
    Registered User
    Join Date
    09-14-2012
    Location
    Coldstream Victoria Australia
    MS-Off Ver
    Microsoft Excel for Mac Version 16
    Posts
    21

    Excel Hyperlink from a cell to a page in a pdf document

    Sample of Excel Spreadsheet attached. I would like to hyperlink cell in Orange, to a page from a pdf document.

    Currently the hyperlink only opens at Page 1. I have tried adding #page=? to the selected address.

    I also need to send the spreadsheet and all the attached documents to my accountant. Is there a particular format so the hyperlinks are not lost.


    I have attempted to upload a sample of the pdf files, without success. The four pages that were in the file totalled 5Mb


    thanks
    Attached Files Attached Files

  2. #2
    Spammer
    Join Date
    10-23-2012
    Location
    Adelaide, Australia
    MS-Off Ver
    Excel 2003, Office 365
    Posts
    1,237

    Re: Excel Hyperlink from a cell to a page in a pdf document

    You could try something like this and select the cell rather than just follow the hyperlink.

    Please Login or Register  to view this content.
    Last edited by Croweater; 07-26-2021 at 02:38 AM.

  3. #3
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,225

    Re: Excel Hyperlink from a cell to a page in a pdf document

    From the Adobe website:
    If you use URLs containing local hard drive addresses (c:\folder\), you cannot link to page numbers or set destinations. With Adobe Acrobat 7.0 products, a link to a page number works only if you use HTTP or HTTPS locations.
    So there is no way this would work for a file on your disk.

    The solution shown by Croweater has the right to work, but it is under some condition. Again from the Adobe website:
    HTML pages can contain links that open PDF files within a web browser by using an Adobe Acrobat product (Adobe Acrobat Professional or Standard, Adobe Acrobat 3D, or Adobe Reader) plug-in that is installed into supported versions of Netscape Navigator, Mozilla Firefox, Microsoft Internet Explorer, or Safari (Mac OS).
    So, the browser must have a plug-in installed. All you need is free Adobe Reader.
    More details here.
    I don't want to comment on other PDF readers because I have no experience.

    Quote Originally Posted by georgiabrown View Post
    I also need to send the spreadsheet and all the attached documents to my accountant. Is there a particular format so the hyperlinks are not lost.
    Two variants:
    1. If your PDF documents are in the same folder as the Excel file on your computer, the links will refresh automatically when you transfer the files to another person.
    2. If the documents on your computer are in a subfolder of the folder containing the Excel file, you need to send this structure in a ZIP file. So in the ZIP file you will have an Excel file and a folder with documents. This folder does not have to contain all the files you have at home. Only send those that are required by the hyperlinks in the Excel file.

    So, it is important that when creating hyperlinks in an Excel file, the files used in the links be in a specific location - either in the same folder or in a subfolder.

    Artik

  4. #4
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,150

    Re: Excel Hyperlink from a cell to a page in a pdf document

    As an alternative, this works for me with Adobe Reader. So, you can revise the code to use like mentioned in message #2

    The code opens page number 15 of the PDF file in Adobe Reader.

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: Today, 11:41 AM
  2. Replies: 2
    Last Post: 07-20-2017, 01:33 AM
  3. Hyperlink to PDF within an Excel document
    By Steve_H_17 in forum Excel General
    Replies: 3
    Last Post: 03-01-2017, 10:51 AM
  4. In Excel, Word Document hyperlink Table Cell partial text to bookmark.
    By Kalithro in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-25-2016, 11:16 PM
  5. Replies: 1
    Last Post: 04-03-2014, 05:24 AM
  6. Replies: 1
    Last Post: 01-30-2014, 05:38 PM
  7. Replies: 0
    Last Post: 05-06-2013, 10:43 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1