protect excel sheet with password vba and unprotect code example Example: excel vba protect worksheet without password Worksheets("Sheet1").Unprotect "Password"