+ Reply to Thread
Results 1 to 4 of 4

Macro\VBA? to Switch Sheets

  1. #1
    Forum Contributor
    Join Date
    05-26-2008
    Posts
    122

    Macro\VBA? to Switch Sheets

    I am making sort of a presentation in excel. I was hoping I could make arrows buttons to switch between sheets. So my question would be what would be the vba to goto the next sheet? I know i can use macros and goto specific named sheets but then id have to make a seperate macro for each sheet . Any help is appreciated . Thanks

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

    Re: Macro\VBA? to Switch Sheets

    just hyperlink to sheet
    if you put a shape in say a block arrow
    select shape
    then insert/hyperlink to named location in file
    Last edited by martindwilson; 09-01-2009 at 03:42 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

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Macro\VBA? to Switch Sheets

    Not trying to be "funny" but if you intend to click on a button to go to the next sheet why not just click on the tab itself ? Both actions require the same amount of interaction... one doesn't require VBA.
    (or use even CTRL + PAGE UP / PAGE DOWN)

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Macro\VBA? to Switch Sheets

    Or:

    1. Right-Click on the worksheet navigation arrows at the lower left and choose from the pop up list of worksheets

    2. Name a cell on each sheet, then use the Name Box to drop down and pick the named range for that sheet

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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