After inserting a new record using a UserForm, the record is inserted OK but the row number is now off by one on all the following records.
I don't think I was able to reproduce the problem.
That said, if it DOES happen, I suggest you re-establish the formulae in columns I:K. Do that by calling the subroutine below.
Please note that this has been tested independently. It has NOT been tested when called from elsewhere. As stated, it should be called AFTER a row has been inserted to maintain the integrity of the formulae. Unfortunately, because the application changes the Excel environment, I am not prepared to test it IRL. If the (original) code fails/crashes for any reason, it could leave a lot of sorting out to do ... and I'm not going to take that risk.
Bookmarks