I believe you want...ActiveSheet.UnprotectDo stuffActiveSheet.ProtectIf you have a password set, add it to the code...ActiveSheet.Unprotect "password"Do stuffActiveSheet.Protect "password"