+ Reply to Thread
Results 1 to 5 of 5

Hyperlinking all cells on sheet 1 to their corresponding cells on sheet 2

  1. #1
    Registered User
    Join Date
    09-27-2017
    Location
    Baltimore
    MS-Off Ver
    Office for Mac
    Posts
    35

    Hyperlinking all cells on sheet 1 to their corresponding cells on sheet 2

    Hello,

    I am a beginner to excel and have a workbook with 2 pages. The first page is an overview of the second page. The workbook is a matrix of the laws in all 50 states regarding various topics. I want each cell on the first sheet to hyperlink to its corresponding cell on the second sheet - in other words, I want A1 on first page to link to A1 on second page, A2 to A2 on second page, A3 to A3, B1 to B1, B2 to B2 and so on. I have attached a small sample sheet with the hyperlinks between the sheets included. Until now I have done it manually by doing control k for each cell and putting in the specific destination on the second sheet that I wanted it to hyperlink to, but I want it to be able to be done automatically since I have over 1000 cells. I am concerned with the hyperlinks between the two sheets, not the hyperlinks on the second sheet that link cells on the second sheet to other online locations.
    Attached Files Attached Files

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: Hyperlinking all cells on sheet 1 to their corresponding cells on sheet 2

    Right click the sheet's tab, View Code, and paste. Select all the cells, cut, and paste back. Constant values without hyperlinks will be added. Then, any cell with no value that is added, will get the hyperlink.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-27-2017
    Location
    Baltimore
    MS-Off Ver
    Office for Mac
    Posts
    35

    Re: Hyperlinking all cells on sheet 1 to their corresponding cells on sheet 2

    I'm getting - error Run-time '5': Invalid procedure call or argument. The part of the code that is giving the error is in red.
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-27-2017
    Location
    Baltimore
    MS-Off Ver
    Office for Mac
    Posts
    35

    Re: Hyperlinking all cells on sheet 1 to their corresponding cells on sheet 2

    I have word for mac if that makes a difference.

  5. #5
    Registered User
    Join Date
    09-27-2017
    Location
    Baltimore
    MS-Off Ver
    Office for Mac
    Posts
    35

    Re: Hyperlinking all cells on sheet 1 to their corresponding cells on sheet 2

    I isolated the row that was causing the issues. It's a single row that has numbers in it instead of letters. Maybe that is related to the issue at hand. For all the other rows, it works fine.

    Thanks

+ 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. [SOLVED] Matching Cells between two documents & copying sheets/hyperlinking cells via toolbar macro
    By Hyflex in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2015, 06:29 PM
  2. [SOLVED] User inputs number on sheet 1 and multiple cells (from sheet 2) are shown on sheet 3
    By rimshot609 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-31-2014, 12:54 AM
  3. Replies: 1
    Last Post: 02-13-2014, 04:45 PM
  4. highlight cells in sheet 1 based on cells existing in sheet 2
    By free2rhyme2k in forum Excel General
    Replies: 1
    Last Post: 07-11-2013, 10:08 AM
  5. Macro for hyperlinking cells on master sheet
    By isgamel in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-10-2013, 08:32 PM
  6. Replies: 5
    Last Post: 11-28-2012, 10:51 AM
  7. Replies: 0
    Last Post: 09-22-2012, 03:38 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