For some simple code to add a new row - with a proper coding structure - see:
https://www.msofficeforums.com/word-...html#post38312
Regardless, deleting a row added in error would require a significant re-write. Better to be careful rather than trying to work around carelessness. You could, of course, unprotect the document to delete the unwanted row manually.