I currently send a cells value to another spreadsheet to the next open cell in a column. But my current code sends it to the bottom most cell after all the values, so if I delete any cells in between it still only posts at the end of the data. I would like it to fill in cells I have deleted so it's not leaving empty rows. Any help is greatly appreciated.
Sub S2WL()
Dim MyValue As Variant: My Value = ThisWorkbook.Activesheet.Range("C2").Value
With Workbooks("Dash").Worksheets("DASH")
Dim last As Long: last = .Cells(.Rows.Count, "JF").End(xlUp).Row + 1
.Cells(last, "JF").Value = MyValue
End sub
I tried declaring a few more variables to try and loop it through but I can't get it to work, it keeps posting only in the very first cell.