henryvii99
New Member
- Joined
- Apr 22, 2011
- Messages
- 32
I had found a code which can copy a cell in A1 to B2, C2, D2... every time when Cell A1 updates. Here's the code:
Now I want to do something similar: I want to copy a range of cells D4:D322 to column L4:L322, then M4:M322, then N4:N322 etc.
I would like to seek help from you, thanks in advance!
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("A1")) Is Nothing Then
Range("B" & Cells(Rows.Count).Row).End(xlUp).Offset(1, 0).Value = Range("A1").Value
End If
End Sub
Now I want to do something similar: I want to copy a range of cells D4:D322 to column L4:L322, then M4:M322, then N4:N322 etc.
I would like to seek help from you, thanks in advance!