你可以使用
Private Sub Worksheet_Change 來執行哦
你在工作表1 VBA 貼上這個
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Target.Address = "$A$1" Then Sheets("工作表2").Range("A1").Value = [A1].Value
Application.EnableEvents = True
End Sub
在工作表2 VBA 貼上這個
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Target.Address = "$A$1" Then Sheets("工作表1").Range("A1").Value = [A1].Value
Application.EnableEvents = True
End Sub