Hi Everybody,
I am currently using this code to copy data from one sheet to the other.
However, it has now become necessary to copy only range B3:K 62, as there are different calculations done in the lower rows of columns A to K.
Any advise please?
Thanks
Jo
Win XP, Excel 2007
I am currently using this code to copy data from one sheet to the other.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Const sOrig As String = "Results" '<- Base sheet
Const sNew As String = "Club scores" '<- Destination sheet
Const CopyCols As String = "b:K" '<- Columns to copy
With ActiveSheet
If .Name = sOrig Then
Application.ScreenUpdating = False
With Sheets(sNew)
Intersect(.UsedRange, .Columns(CopyCols)).Clear
End With
Intersect(.UsedRange, .Columns(CopyCols)).Copy _
Destination:=Sheets(sNew).Range("B1")
Sheets(sOrig).Select
Application.ScreenUpdating = True
End If
End With
End Sub
However, it has now become necessary to copy only range B3:K 62, as there are different calculations done in the lower rows of columns A to K.
Any advise please?
Thanks
Jo
Win XP, Excel 2007