by Allen Wyatt
(last updated December 12, 2018)
David has a large worksheet that he needs to view in three different windows and have them scroll all at the same time. He knows how to use "view side by side" and turn on synchronous scrolling, but it seems to only work for two windows. David wonders if there is a way to do it for three.
There is no way to do synchronous scrolling in Excel with more than two windows. Depending on your needs (and the nature of your data) you may be able to get around this by creatively splitting windows, such that you end up with two actual windows, but one of them is split to show two different parts of the same worksheet.
If that doesn't fit your needs, the only thing you can do is to simulate the synchronicity between windows. This must be done with a macro, similar to the following:
Sub SynchSheets() ' Duplicates the active sheet's cell position in each sheet If TypeName(ActiveSheet) <> "Worksheet" Then Exit Sub Dim shUser As Worksheet Dim sht As Worksheet Dim lTopRow As Long Dim lLeftCol As Long Dim sAddr As String Application.ScreenUpdating = False ' Note the current sheet Set shUser = ActiveSheet ' take information from current sheet With ActiveWindow lTopRow = .ScrollRow lLeftCol = .ScrollColumn sAddr = .RangeSelection.Address End With ' loop through worksheets For Each sht In ActiveWorkbook.Worksheets If sht.Visible Then 'skip hidden sheets sht.Activate Range(sAddr).Select ActiveWindow.ScrollRow = lTopRow ActiveWindow.ScrollColumn = lLeftCol End If Next sht shUser.Activate Application.ScreenUpdating = True End Sub
This macro essentially steps through each worksheet in the workbook and makes the same cell active and visible in each worksheet. If you start with your worksheets displayed on the screen, then the macro will "synchronize" what you see in each worksheet so that it is the same.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9777) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Referring to cells is typically done using a letter and a number, which represent the column and row. That's not the only ...Discover More
What do you do if pasting information into a worksheet brings Excel to its knees? This tip looks at just a few ideas you ...Discover More
Excel is a great tool for analyzing financial information. If you want to do some analysis using stock information, it is ...Discover More
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.