1

I found this VBA code From a JackMcKoy post, It works great for resetting an excel table (Excel16) but it breaks the table in that when I press TAB to add row it no longer adds a new row. Please advise. Thanks in advance.

Sub Clear_Table()
    Range("Table1").Select
    Application.DisplayAlerts = False
    Selection.Delete
    Application.DisplayAlerts = True
    Range("A1:G1").Select
    Selection.ClearContents
End Sub
Dan
  • 235
  • 3
  • 14

0 Answers0