Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
Application.EnableEvents = False
If Not Intersect(Target, [A1]) Is Nothing Then
[A2] = Target
ElseIf Not Intersect(Target, [A2]) Is Nothing Then
[A1] = Target
End If
Application.EnableEvents = True
End Sub