The following code should delete every row but the first. However, it deletes every second row.
Dim index As Long
For index = 2 To ActiveDocument.Tables(1).Rows.Count
ActiveDocument.Tables(1).Rows(index).Delete
Exit For
Next
The following code should delete every row but the first. However, it deletes every second row.
Dim index As Long
For index = 2 To ActiveDocument.Tables(1).Rows.Count
ActiveDocument.Tables(1).Rows(index).Delete
Exit For
Next
Deleting just the last row is as simple as: