I am currently working on a financial spread sheet which will track certain data from one page and paste it to the first row of a table on another page. However, I do not want it to overwrite old data as I am trying to keep a timeline of this data as it changes, so I would like the old data that was entered to be moved downwards by one row.
My current macro successfully moves data from my "Balance Entry Sheet" to the "Balance Timelines" sheet Row A3 as intended, but it will overwrite any data already entered and I cant seem to find the right combinations to shift the old data down at the same time. I have manually formatted the Balance Timelines page because I was unsure how to use a table with this so if you have any suggestions I am open to them. Thank you!
Goal:
1. Shift all prior data Balance Timelines worksheet from rows A3-H3 and below by one row for new data to be captured
2. Move data from Balance Entry Sheet to Balance Timelines row A3
3. Retain the preexisting formatting on the destination sheet, Balance Timelines
Here is my current macro:
Sub Tracking()
Dim sourceWs As Worksheet, dstWs As Worksheet
With Range("B3")
Set sourceWs = Sheets("Balance Entry Sheet")
Set dstWs = Sheets("Balance Timelines")
sourceWs.Range("B3").Copy
Call dstWs.Range("A4").End(xlUp).Offset(1).PasteSpecial(Paste:=xlPasteValues)
End With
With Range("B4")
Set sourceWs = Sheets("Balance Entry Sheet")
Set dstWs = Sheets("Balance Timelines")
sourceWs.Range("B4").Copy
Call dstWs.Range("B4").End(xlUp).Offset(1).PasteSpecial(Paste:=xlPasteValues)
End With
End Sub
My current macro successfully moves data from my "Balance Entry Sheet" to the "Balance Timelines" sheet Row A3 as intended, but it will overwrite any data already entered and I cant seem to find the right combinations to shift the old data down at the same time. I have manually formatted the Balance Timelines page because I was unsure how to use a table with this so if you have any suggestions I am open to them. Thank you!
Goal:
1. Shift all prior data Balance Timelines worksheet from rows A3-H3 and below by one row for new data to be captured
2. Move data from Balance Entry Sheet to Balance Timelines row A3
3. Retain the preexisting formatting on the destination sheet, Balance Timelines
Here is my current macro:
Sub Tracking()
Dim sourceWs As Worksheet, dstWs As Worksheet
With Range("B3")
Set sourceWs = Sheets("Balance Entry Sheet")
Set dstWs = Sheets("Balance Timelines")
sourceWs.Range("B3").Copy
Call dstWs.Range("A4").End(xlUp).Offset(1).PasteSpecial(Paste:=xlPasteValues)
End With
With Range("B4")
Set sourceWs = Sheets("Balance Entry Sheet")
Set dstWs = Sheets("Balance Timelines")
sourceWs.Range("B4").Copy
Call dstWs.Range("B4").End(xlUp).Offset(1).PasteSpecial(Paste:=xlPasteValues)
End With
End Sub