I have a spreadsheet with multiple sheets. I want them all to scroll in sync. For example if I scroll to J18
in Sheet1, all others sheets will have the cursor at J18
and same row/column at the top left.
I know how to write (basic) scripts – but could not figure this one out. Any ideas?
Question on Google+ community: https://plus.google.com/113862354064807861446/posts/D7b919WFFjY
Best Answer
The closest thing you can have is the following script.
Code
Explained
Upon opening, a menu item is created. Selecting this item, will execute the
mySheet
function. This will find the first sheet (doesn't need to begetSheets[0]
) and itsindex
plus theA1Notation()
. After that, it will set the active selection of each sheet according to the first sheet.Example
I've created an example sheet for you: Set Selection throughout all sheets