Sub Macro1() 'name your macro here
Application.ScreenUpdating = False
Dim rowadrs As Long
Dim coladrs As Long
ActiveSheet.ListObjects("Table1").ListColumns("Date").Range(1, 1).Select 'replace "Table1" with your table name.
coladrs = ActiveCell.Column
Selection.End(xlDown).Select
Selection.Copy
ActiveSheet.ListObjects("Table1").ListColumns("Row #").Range(1, 1).Select 'replace "Table1" with your table name.
Selection.End(xlDown).Select
rowadrs = ActiveCell.Row
ActiveSheet.Cells(rowadrs, coladrs).Select
Range(Selection, Selection.End(xlUp)).Select
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveSheet.ListObjects("Table1").ListColumns("Qty").Range(1, 1).Select 'replace "Table1" with your table name.
coladrs = ActiveCell.Column
Selection.End(xlDown).Select
Selection.Copy
ActiveSheet.ListObjects("Table1").ListColumns("Row #").Range(1, 1).Select 'replace "Table1" with your table name.
Selection.End(xlDown).Select
rowadrs = ActiveCell.Row
ActiveSheet.Cells(rowadrs, coladrs).Select
Range(Selection, Selection.End(xlUp)).Select
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveSheet.ListObjects("Table1").Range(1, 1).Select 'replace "Table1" with your table name.
Application.ScreenUpdating = True
End Sub