Not sure if you want the D6 changed in both parts of the code or only the 1st part
This is for the 1st part - It places the value in the next vacant cell in column D
Sheet18.Cells.Cells(Cells(Rows.Count, "a").End(xlUp).Row + 1, "D").Value = Sheet18.Cells.Range("D6").Value + Sheet4.Cells.Range("F15").Value
Another way if both D6 referneces need to be changed
Dim lLr As Long
lLr = Cells(Rows.Count, "a").End(xlUp).Row + 1
Sheet18.Cells(lLr, "D").Value = Sheet18.Cells(lLr, "d").Value + Sheet4.Cells.Range("F15").Value
Bookmarks