See attached solution - this is what I did:
1- Name the areas you want to sync (I named them area_1 and area_2)
2- Use worksheet_change() events on both sheets to control what happens when one sheet is altered.
code for worksheet 1:
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
Dim colNum As Long, rowNum As Long
If Not Intersect(Target, [area_1]) Is Nothing Then
colNum = Target.Column - [area_1].Cells(1, 1).Column + 1
rowNum = Target.Row - [area_1].Cells(1, 1).Row + 1
Application.EnableEvents = False
[area_2].Cells(rowNum, colNum).Value = Target.Value
End If
Application.EnableEvents = True
End Sub
code for worksheet 2:
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
Dim colNum As Long, rowNum As Long
If Not Intersect(Target, [area_2]) Is Nothing Then
colNum = Target.Column - [area_2].Cells(1, 1).Column + 1
rowNum = Target.Row - [area_2].Cells(1, 1).Row + 1
Application.EnableEvents = False
[area_1].Cells(rowNum, colNum).Value = Target.Value
End If
Application.EnableEvents = True
End Sub
Bookmarks