-79815 Not in Insert mode. Need to call moveToInsertRow() first
Explanation
You tried to use the insertRow() method, but the mode is not set to Insert.
User response
Call the moveToInsertRow() method before calling insertRow().
You tried to use the insertRow() method, but the mode is not set to Insert.
Call the moveToInsertRow() method before calling insertRow().