The Recorder will not help much here, you need to do this with event code!
To be usefull the code needs to be dynamic, recorded code is static!
Add All the code below to the Special Module Named: "ThisWorkbook"
Note: The Public Definition: "Public mySelect$" must be the first statement in the "ThisWorkbook" module!
This code will work for any Range: a single cell or a selected group of cells!
Public mySelect$
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
'ThisWorkbook module code!
mySelect = Target.Address
End Sub
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
'ThisWorkbook module code!
Sh.Range(mySelect).Select
End Sub
Note this code is ON all the time to turn it on and off you need to add a control flag test to see if it should run or not. To do this replace the above code with this new code: Note: "Sub syncRng" is the On and Off switch for the code, it Toggles the code on and off!
Public mySelect$, mySync As Boolean
Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
'ThisWorkbook module code!
If mySync = True Then mySelect = Target.Address Else: Exit Sub
End Sub
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
'ThisWorkbook module code!
If mySync = True Then Sh.Range(mySelect).Select Else: Exit Sub
End Sub
Sub syncRng()
'ThisWorkbook module code!
If mySync = True Then
mySync = False
Else
mySync = True
mySelect = ActiveCell.Address
End If
End Sub