I'm having a hard time deleting rows from a table, not just the content, but this does not affect the rows in the worksheet. I saved a macro that resulted in the following code:
Range("Tabela193").Select
Selection.ListObject.ListRows(1).Delete
Selection.ListObject.ListRows(1).Delete
Selection.ListObject.ListRows(1).Delete
This worked but since the number of rows is variable, I have to put a routine that counts the number of rows and repeat the line "Selection.ListObject.ListRows (1) .Delete" until the last line. Another detail is that if you have a single row and have no data, ignore the "Selection.ListObject.ListRows (1) .Delete" routine and select another table to copy the data from it.