Sub MoveRecord()
Dim WSF As Worksheet ' Invoice worksheet
Dim WSD As Worksheet ' SalesData worksheet
Set WSF = Worksheets("Invoice")
Set WSD = Worksheets("SalesData")
NextRow = WSD.Cells(Rows.Count, 1).End(xlUp).Row + 1
WSD.Cells(NextRow, 1).Resize(1, 10).Value = Array([F6], [F6], [F5], [A18], [b18], [c10], [c21], [d21], [f21], [b21])
NextRow = WSD.Cells(Rows.Count, 1).End(xlUp).Row + 1
WSD.Cells(NextRow, 1).Resize(1, 10).Value = Array([F6], [F6], [F5], [A18], [b18], [c10], [c22], [d22], [f22], [b22])
NextRow = WSD.Cells(Rows.Count, 1).End(xlUp).Row + 1
WSD.Cells(NextRow, 1).Resize(1, 10).Value = Array([F6], [F6], [F5], [A18], [b18], [c10], [c23], [d23], [f23], [b23])
NextRow = WSD.Cells(Rows.Count, 1).End(xlUp).Row + 1
WSD.Cells(NextRow, 1).Resize(1, 10).Value = Array([F6], [F6], [F5], [A18], [b18], [c10], [c24], [d24], [f24], [b24])
End Sub
Bookmarks