+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    02-26-2009
    Location
    Ashford Kent
    MS-Off Ver
    Excel 2003
    Posts
    3

    Multiple Worksheets Position

    Hi

    I have 3 worksheets each with duplicate dates. If for example I scroll down sheet1 to view a later date; how can I get other worksheets to follow sheet1’s new position?

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

    Re: Multiple Worksheets Position

    these 2 macros will move the other sheets whenever sheet 1 scrolled
    Code:
    Sub ScrollDown()
    Application.ScreenUpdating = False
    Sheets("sheet1").Activate
    ActiveWindow.SmallScroll Down:=1
    Sheets("sheet2").Activate
    ActiveWindow.SmallScroll Down:=1
    Sheets("sheet3").Activate
    ActiveWindow.SmallScroll Down:=1
    Sheets("sheet1").Activate
    Application.ScreenUpdating = True
    End Sub
    
    Sub Scrollup()
    Application.ScreenUpdating = False
    Sheets("sheet1").Activate
    ActiveWindow.SmallScroll up:=1
    Sheets("sheet2").Activate
    ActiveWindow.SmallScroll up:=1
    Sheets("sheet3").Activate
    ActiveWindow.SmallScroll up:=1
    Sheets("sheet1").Activate
    Application.ScreenUpdating = True
    End Sub
    once inserted in a new module assign each to a button on tool bar and use them to scroll with on sheet 1
    Mojito connoisseur and a dabbler in Cisco
    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
    Registered User
    Join Date
    02-26-2009
    Location
    Ashford Kent
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Multiple Worksheets Position

    This works well - Thanks!!
    Can this be somehow be assigned to the default scrollbar rather than an object from the toolbar?

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

    Re: Multiple Worksheets Position

    not by me! perhaps the excel development team at microsoft!
    Mojito connoisseur and a dabbler in Cisco
    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

Thread Information

Users Browsing this Thread

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

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.2.0