Unprotect the sheet, do your stuff, and then reprotect the sheet.