+ Reply to Thread
Results 1 to 16 of 16

Cell that you can type in a sheet number to take you to that sheet

  1. #1
    Registered User
    Join Date
    08-29-2013
    Location
    Wolverhampton, England
    MS-Off Ver
    Excel 2010
    Posts
    43

    Cell that you can type in a sheet number to take you to that sheet

    On the attached workbook I want to have a cell where you can type a sheet number and it takes you to that sheet. My original file has over 100 worksheets and it would be easier for them to have a cell as described as opposed to a Hyperlink where a none user may not be able to follow.

    I have already submitted a similar question without adding the attached file
    Attached Files Attached Files

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Cell that you can type in a sheet number to take you to that sheet

    It is a protected file.... need password to open it.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Cell that you can type in a sheet number to take you to that sheet

    Just enter a reference in the Names box, left of the formula bar, e.g., Sheet2!A1
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    08-29-2013
    Location
    Wolverhampton, England
    MS-Off Ver
    Excel 2010
    Posts
    43
    Quote Originally Posted by Arkadi View Post
    It is a protected file.... need password to open it.
    My mistake password is
    keane11

  5. #5
    Registered User
    Join Date
    08-29-2013
    Location
    Wolverhampton, England
    MS-Off Ver
    Excel 2010
    Posts
    43
    Quote Originally Posted by shg View Post
    Just enter a reference in the Names box, left of the formula bar, e.g., Sheet2!A1
    The user would not recognise this from one use to the next

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Cell that you can type in a sheet number to take you to that sheet

    Quote Originally Posted by fizzwolf View Post
    The user would not recognise this from one use to the next
    I don't know what that means; if they don't know the names of the sheets, how would they know what to type in the cell?

  7. #7
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Cell that you can type in a sheet number to take you to that sheet

    Are you really using Excel 2003? It makes a big difference on how this will be implemented.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  8. #8
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Cell that you can type in a sheet number to take you to that sheet

    On which sheet would this cell be? or same cell on every sheet?

  9. #9
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Cell that you can type in a sheet number to take you to that sheet

    Here is a workbook that will work with 2003. Run the macro MakeLinks and it populates the Index sheet with sheet names. Clicking on a sheet name unhides and activates that sheet.

    Attached is the Excel 2010 or later version. I can't seem to upload the XLS version.
    Attached Files Attached Files
    Last edited by dflak; 03-29-2017 at 02:10 PM.

  10. #10
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Cell that you can type in a sheet number to take you to that sheet

    Here is the code.

    Selection Change Event on Index Sheet Module
    Please Login or Register  to view this content.
    MakeLinks in a regular module
    Please Login or Register  to view this content.

  11. #11
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Cell that you can type in a sheet number to take you to that sheet

    To do what you described, put this in the "ThisWorkbook" module, not a normal module. Also, you didn't say how to handle hidden sheets so I took a guess.

    Please Login or Register  to view this content.

  12. #12
    Registered User
    Join Date
    08-29-2013
    Location
    Wolverhampton, England
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Cell that you can type in a sheet number to take you to that sheet

    Quote Originally Posted by shg View Post
    I don't know what that means; if they don't know the names of the sheets, how would they know what to type in the cell?
    The user has little to no knowledge of Excel and would not remember to put cursor in Go To box to type in the sheet number

  13. #13
    Registered User
    Join Date
    08-29-2013
    Location
    Wolverhampton, England
    MS-Off Ver
    Excel 2010
    Posts
    43

    Re: Cell that you can type in a sheet number to take you to that sheet

    Quote Originally Posted by Arkadi View Post
    To do what you described, put this in the "ThisWorkbook" module, not a normal module. Also, you didn't say how to handle hidden sheets so I took a guess.

    Please Login or Register  to view this content.
    Sorry but this is where I came unstuck when someone else helped me - I do not know how to "put this in the ThisWorkbook" module. My limited knowledge is to select Developer and Visual Basic and copy and paste codes there.
    Last edited by fizzwolf; 04-01-2017 at 04:11 AM.

  14. #14
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Cell that you can type in a sheet number to take you to that sheet

    Alt-F11 would bring you to VBA editor. There you have a section on the left where you would see a list of the sheets, and also "ThisWorkbook". Double click ThisWorkbook and then paste the code.

  15. #15
    Registered User
    Join Date
    08-29-2013
    Location
    Wolverhampton, England
    MS-Off Ver
    Excel 2010
    Posts
    43
    Quote Originally Posted by Arkadi View Post
    Alt-F11 would bring you to VBA editor. There you have a section on the left where you would see a list of the sheets, and also "ThisWorkbook". Double click ThisWorkbook and then paste the code.
    Thank you perfect

  16. #16
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Cell that you can type in a sheet number to take you to that sheet

    Please mark the thread as solved if you are satisfied? Thanks in advance for your help

+ 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. Cell that you can type in a sheet number to take you to that sheet
    By fizzwolf in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-22-2017, 09:40 AM
  2. Replies: 1
    Last Post: 08-27-2016, 03:34 PM
  3. [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
  4. [SOLVED] Return comment to master sheet after matching to source sheet name and cell number
    By jeffreybrown in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-21-2012, 05:09 PM
  5. [SOLVED] search for string in another sheet, get cell number and put cells in first sheet
    By 2k05gt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-08-2011, 01:34 PM
  6. Display sheet number in cell not sheet name
    By blufire in forum Excel General
    Replies: 5
    Last Post: 06-03-2010, 06:23 PM
  7. Replies: 6
    Last Post: 02-12-2007, 05:16 PM

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