louperrotta
New Member
- Joined
- Jul 30, 2024
- Messages
- 20
- Office Version
- 365
- Platform
- Windows
As of right now I can only get it to work with one cell to one cell, not multiple but I am very much a layman...here is what I was using:
So when I tried to use (A1:A20) & (B1:B20) it was error...what am I doing wrong? Hahaha, again, I'm a layman! Here:
Thank you so much! You are all amazing!! Hope you can help!
VBA Code:
Private Sub Worksheet_change(ByVal Target As Range)
If Not Intersect(Target, Range("A1")) Is Nothing Then
If Target = Range("A1") Then
Sheets("Sheet2").Range("B1").Value = Target.Value
End If
End If
End Sub
Private Sub Worksheet_change(ByVal Target As Range)
If Not Intersect(Target, Range("B1")) Is Nothing Then
If Target = Range("B1") Then
If Sheets("Sheet1").Range("A1").Value <> Target.Value Then
Sheets("Sheet1").Range("A1").Value = Target.Value
End If
End If
End If
End Sub
So when I tried to use (A1:A20) & (B1:B20) it was error...what am I doing wrong? Hahaha, again, I'm a layman! Here:
VBA Code:
Private Sub Worksheet_change(ByVal Target As Range)
If Not Intersect(Target, Range("A1:A20")) Is Nothing Then
If Target = Range("A1:A20") Then
Sheets("Sheet2").Range("B1:B20").Value = Target.Value
End If
End If
End Sub
Private Sub Worksheet_change(ByVal Target As Range)
If Not Intersect(Target, Range("B1:B20")) Is Nothing Then
If Target = Range("B1:B20") Then
If Sheets("Sheet1").Range("A1:A20").Value <> Target.Value Then
Sheets("Sheet1").Range("A1:A20").Value = Target.Value
End If
End If
End If
End Sub
Thank you so much! You are all amazing!! Hope you can help!
Last edited by a moderator: