Below code only work to select single cell. Let say last row is row 50. How do I select range of last row between A50 to Z50.
Is it possible to combine below codes into single line?
Code:
Cells(LastRow + 1, "A").Select
Is it possible to combine below codes into single line?
Code:
Cells(LstRow, "C").Formula = "=SUM(C4:C" & LstRow - 1 & ")"
Code:
Cells(LstRow, "D").Formula = "=SUM(D4:D" & LstRow - 1 & ")"
Code:
Cells(LstRow, "E").Formula = "=SUM(E4:E" & LstRow - 1 & ")"
Last edited: