hi all,
having trouble with the following. the 1st copy works but the 2nd does nothing.
Sub New_Button_Click()
LastrowSL = Worksheets("Saw List").UsedRange.Rows.Count
If Range("A3").Value = "XO" Then
Worksheets("Formulas").Range("A2:A10").Copy _
Destination:=Worksheets("Saw List").Range("B" & LastrowSL + 1)
Lastcell = Worksheets("Formulas").Cells(Rows.Count, "C").End(xlUp).Row
Worksheets("Formulas").Range("E2").Copy _
Destination:=Worksheets("Saw List").Range("C" & Lastcell + 1)
End If
End Sub
i also need to to copy down what i just pasted into the last used cell in coloum C down to the last used row in that sheet.
any help is appreciated
having trouble with the following. the 1st copy works but the 2nd does nothing.
Sub New_Button_Click()
LastrowSL = Worksheets("Saw List").UsedRange.Rows.Count
If Range("A3").Value = "XO" Then
Worksheets("Formulas").Range("A2:A10").Copy _
Destination:=Worksheets("Saw List").Range("B" & LastrowSL + 1)
Lastcell = Worksheets("Formulas").Cells(Rows.Count, "C").End(xlUp).Row
Worksheets("Formulas").Range("E2").Copy _
Destination:=Worksheets("Saw List").Range("C" & Lastcell + 1)
End If
End Sub
i also need to to copy down what i just pasted into the last used cell in coloum C down to the last used row in that sheet.
any help is appreciated