I am currently using the below:
To clear the table of the sheet "MY" and the Table "MY".
However, I am wanting to clear all Sheets and all tables but leaving the headers.
without having to do it for every sheet/table.
Any advice?
VBA Code:
With Sheets("MY").ListObjects("MY")
'Check If any data exists in the table
If Not .DataBodyRange Is Nothing Then
'Clear Content from the table
.DataBodyRange.ClearContents
End If
End With
End Sub
To clear the table of the sheet "MY" and the Table "MY".
However, I am wanting to clear all Sheets and all tables but leaving the headers.
without having to do it for every sheet/table.
Any advice?