+ Reply to Thread
Results 1 to 5 of 5

Trying to create a way to dynamically reference another worksheet

  1. #1
    Registered User
    Join Date
    04-22-2018
    Location
    orlando
    MS-Off Ver
    2013
    Posts
    33

    Trying to create a way to dynamically reference another worksheet

    This one is a little complicated and not sure if it can be done. I have this table

    A B

    1 project 1 Wash Car
    2 project 2 Wash Floor
    3 project 3 Walk Dog

    I want to be able to click either the project number or project description to go to a worksheet that has the indepth details of that project. Easy enough, but B1 is going to change at some point. Wash Car will be completed, and a new project will appear in that cell, like Paint House. Is there any way around having to move all the data to another worksheet or renaming the worksheet. Is there anyway to do this automatically and dynamically based on Column A or B's Value. I know I have to build each worksheet out with the details in advance, but I can have 10 worksheets ready to go with templates. Am I making sense? Thanks!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Trying to create a way to dynamically reference another worksheet

    Maybe if you enter the data into 1 cell, say, A1, and in B1, you reference it using a hyperlink, something like...
    =HYPERLINK("#"&"'"&A1&"'!A1",A1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-22-2018
    Location
    orlando
    MS-Off Ver
    2013
    Posts
    33

    Re: Trying to create a way to dynamically reference another worksheet

    So then what would i would i name the worksheet I want to navigate to?

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Trying to create a way to dynamically reference another worksheet

    Anything you like, as long as that is the name that you put into A1 (or the other cells in col A)

    Give it a try and see how you make out?

  5. #5
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Trying to create a way to dynamically reference another worksheet

    .
    I know you said you did not want to have to edit the Sheet Tab ... but, here is a macro that automatically creates a menu hyperlink to all sheets when they are added to the workbook. Then, if you edit the
    Sheet Tab name, the menu name is changed automatically.

    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. To dynamically create hyperlinks only where worksheet is present.
    By EasyPeezy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-03-2015, 11:29 AM
  2. VBA to create new Workbook and copy worksheet into it dynamically
    By rob read in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2013, 11:55 AM
  3. Want to reference another cell dynamically
    By bugmenot in forum Excel General
    Replies: 3
    Last Post: 07-13-2009, 05:04 PM
  4. VBA: Reference cell dynamically on another worksheet
    By ssmith147 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2009, 03:43 PM
  5. How to dynamically add/change Reference?
    By Joe HM in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2006, 02:55 PM
  6. How to reference cells dynamically
    By ArthurN in forum Excel General
    Replies: 2
    Last Post: 02-23-2006, 06:15 AM
  7. How to dynamically add a reference to personal.xls ?
    By John Mitchell in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2005, 08:07 AM

Tags for this Thread

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