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?
these 2 macros will move the other sheets whenever sheet 1 scrolled
once inserted in a new module assign each to a button on tool bar and use them to scroll with on sheet 1Code: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
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
This works well - Thanks!!
Can this be somehow be assigned to the default scrollbar rather than an object from the toolbar?
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks