+ Reply to Thread
Results 1 to 6 of 6

use the info of the cell to open the right sheet

  1. #1
    Registered User
    Join Date
    09-14-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    6

    use the info of the cell to open the right sheet

    I am creating new jobs everyday, these jobs have their own sheets, Sheet 1 has the names of all jobs in a column. I need to click any cell of that column and open the sheet matching the name of that cell. Thanks

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: use the info of the cell to open the right sheet

    Hi GeekComputer

    Create Hyperlinks for each Job on Sheet1

    Right Click ----> Hyperlink ----> Place in this document -----> Select Sheet
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: use the info of the cell to open the right sheet

    Assuming column A

    Please Login or Register  to view this content.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: use the info of the cell to open the right sheet

    with job names in a1 down
    say job 123
    and you have a sheet job 123
    then you can hyperlink to that sheet with this formula in b1
    =HYPERLINK("#'"&A1&"'!a1",A1)
    Attached Files Attached Files
    Last edited by martindwilson; 09-14-2013 at 12:07 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    09-14-2013
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: use the info of the cell to open the right sheet

    Thanks for your help stnkynts, I tried your suggestion and when I click a cell it seems to start the macro but it always returns the MsBox message, I know the sheet matching the text is there but it fails to open. Any suggestions on what I am missing?

  6. #6
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: use the info of the cell to open the right sheet

    Are the values in the cells numbers? If so we may have to do Set ws = Sheets(Target.Text). Other that I would need a copy of your workbook as it worked when I tried it on a test workbook

+ 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] Need to Copy cell info from one sheet to rows on a new sheet.
    By gavdean17 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2012, 03:07 PM
  2. If this = then get cell info from sheet 2
    By kirkspam in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-22-2010, 03:49 PM
  3. Getting sheet name and info from cell
    By tripflex in forum Excel General
    Replies: 4
    Last Post: 03-05-2009, 06:09 PM
  4. getting cell info from one sheet...
    By George. in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 06-05-2006, 02:31 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