My task is to copy individual table data in different sheets and paste all of them into a Master Table. I wrote the below coding but there is an error "Object Required" of my second last line.
I am specifically confused about how to paste data RIGHT UNDER the existing data. All of the separate sheets have same table formatting.
Any help is appreciated, thanks!
Private Sub CommandButton1_Click()
'Delete Master Table
Application.ScreenUpdating = False
Sheets("Pivot Table Data").ListObjects("MasterTable").Range.Select
Rows("4:" & Rows.Count).ClearContents
'Copy and Paste data from other Sheets
Worksheets("HK-SLHK").ListObjects("TableHK").DataBodyRange.Copy Destination:=Worksheets("Pivot Table Data").Range("B4")
Application.CutCopyMode = False
Worksheets("Indonesia-SLFI").ListObjects("TableIndoSLFI").DataBodyRange.Copy Destination:=Worksheets("Pivot Table Data").Cells(Row.Count, B).End(xlUp).Row + 1
Application.CutCopyMode = False
End Sub