+ Reply to Thread
Results 1 to 9 of 9

Button to navigate sheet

  1. #1
    Registered User
    Join Date
    03-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    48

    Button to navigate sheet

    I'm looking to create a navigation sheet. Clicking different buttons will switch tabs and take you to the different parts of whichever sheet. Some sheets are several pages long so I thought this would be handy.

    I tried using the hyperlink but it doesn't work as expected. It kind of randomly goes there. Ideally, I'd like the top of the page to be at the top of the screen. Make sense?
    Last edited by jumonjii; 04-17-2014 at 07:14 PM.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Button to navigate sheet

    Just to give you an idea, please find the attached sheet to see if this is what you want.

    If you want to see the top of the page, you may change A100 to A1 in the code.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    03-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Button to navigate sheet

    Yes, that seems to work. Took me a few tries to find the code. It's not a macro? So...if I wanted multiple buttons, how would that work?

  4. #4
    Registered User
    Join Date
    03-15-2013
    Location
    usa
    MS-Off Ver
    Excel 2013
    Posts
    27

    Re: Button to navigate sheet

    This work?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Button to navigate sheet

    That's really cool. So I can copy the code and change it as needed in the one macro then?

  6. #6
    Registered User
    Join Date
    03-15-2013
    Location
    usa
    MS-Off Ver
    Excel 2013
    Posts
    27

    Re: Button to navigate sheet

    Yes, just edit the code for the page and range.

  7. #7
    Registered User
    Join Date
    03-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Button to navigate sheet

    Rock on! Thanks alot.

    You guys on this forum are fantastic! I still have trouble working out all the formulas and love that you folks are willing to explain it as best you can.

    Mostly, if I can get it to work, I'm happy.

    Thanks again!!

  8. #8
    Registered User
    Join Date
    03-15-2013
    Location
    usa
    MS-Off Ver
    Excel 2013
    Posts
    27

    Re: Button to navigate sheet

    Apologies, just read your post again, macro for each button, edit the code for each button.

  9. #9
    Registered User
    Join Date
    03-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    48

    Re: Button to navigate sheet

    What I meant is that if I have 6 buttons, I don't need 6 macros correct? The one macro will have 6 'sub', 'end sub' sections?

+ 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. Navigate to sheet via VBA
    By ola7mat in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-29-2012, 05:13 PM
  2. Userform - next record button or scrollbar to navigate through records
    By KA123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-19-2008, 07:49 AM
  3. [SOLVED] Excel Button to navigate?
    By MasterCoder84 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-05-2007, 03:29 PM
  4. navigate sheet onclick
    By nshanmugaraj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-23-2006, 06:27 AM
  5. [SOLVED] Navigate in sheet with a button
    By Jonas G in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2005, 08:05 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