N
nc
I tried running this macro but it fails, any solution?
Private Sub Worksheet_Change(ByVal Target As Range)
Range("J1").Select
ActiveCell.FormulaR1C1 = "=SUM(RC[1]:RC[6])"
Selection.AutoFill Destination:=Range("J1:J26"),
Type:=xlFillDefault
Range("A1").Select
End Sub
Thnaks.
Private Sub Worksheet_Change(ByVal Target As Range)
Range("J1").Select
ActiveCell.FormulaR1C1 = "=SUM(RC[1]:RC[6])"
Selection.AutoFill Destination:=Range("J1:J26"),
Type:=xlFillDefault
Range("A1").Select
End Sub
Thnaks.