Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.1 KB

Excel.AllowEditRange.Unprotect.md

File metadata and controls

39 lines (23 loc) · 1.1 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
AllowEditRange.Unprotect method (Excel)
vbaxl10.chm725077
vbaxl10.chm725077
Excel.AllowEditRange.Unprotect
3c7679c6-828d-e1c4-7009-f42bad1a66d6
04/04/2019
medium

AllowEditRange.Unprotect method (Excel)

Removes protection from a sheet or workbook. This method has no effect if the sheet or workbook isn't protected.

Syntax

expression.Unprotect (Password)

expression A variable that represents an AllowEditRange object.

Parameters

Name Required/Optional Data type Description
Password Optional Variant A string that denotes the case-sensitive password to use to unprotect the range of cells. If the range isn't protected with a password, this argument is ignored.

Remarks

If you forget the password, you cannot unprotect the sheet or workbook. It's a good idea to keep a list of your passwords and their corresponding document names in a safe place.

[!includeSupport and feedback]