Home > Article > Software Tutorial > Two ways to unprotect Excel and restrict editing
php editor Apple brings two methods to remove Excel protection and restrict editing. When the Excel file is protected, the editing content is restricted, but this problem can be solved by the following two methods. The first is to use a password to unprotect, and you need to enter the correct password before editing; the second is to unprotect through VBA macro code, and you can modify the code to achieve editing permissions. These two methods are simple and easy to implement, and you can choose the appropriate unlocking method according to the specific situation.
.
To lift this restriction, you can use the following two methods to lift it, depending on how you set the restriction password.
First of all, we can check whether there is an [Unprotect Worksheet] option on the toolbar below [Review] in the Excel table. If so, click directly and a dialog box for entering a password will appear. Enter the originally set restriction password. Press [OK] to cancel the restriction protection.
.
If there is no [Revoke Worksheet Protection], the restricted editing of the Excel table may be achieved by setting it to "read-only mode".
To cancel the "read-only mode", we can click [File] above the Excel table, select [Save As] in the list, and then select the new path to save the file after canceling the restriction on the right.
.
After selecting, the [Save As] dialog box will appear. Click [General Options] in [Tools] below.
.
At this time, a dialog box for entering the password will appear. You can see that there are already passwords in [Modify Permission Password]. You only need to delete these passwords and turn them into blank spaces, and then press [OK]. At this time, Excel removes the restriction protection editing.
.
Both methods require knowing the original password to remove it. The first is to enter the password before deleting it, and the second is to enter it when opening the Excel file. If you do not remember the password, you cannot remove the restricted password.
But we can use other tools to directly cancel the restrictions without a password, such as the Pepsi Niu Word Password Recovery Tool.
In the tool, first select the [Unrestriction] module;
Tool link: Pepsi Niu Word Password Recovery Tool
.
Then import the Excel file and click [Start] to release it. The Excel file after the restriction will be released will be saved as a new file. Click [Go to View] to open the folder to see it.
The above is the detailed content of Two ways to unprotect Excel and restrict editing. For more information, please follow other related articles on the PHP Chinese website!