EXCEL手动破解/删除密码

8

首先将excel文件的后缀名修改为“zip”格式,将其所有文件都解压出来

会解压出如下三个文件夹和一个文件

2025/07/21  11:37    <DIR>          docProps
2025/07/21  11:37    <DIR>          xl
2025/07/21  11:37    <DIR>          _rels
2012/07/02  09:52             2,869 [Content_Types].xml

进入 “xl\worksheets” 文件夹,里面会有一些xml文件,你有多少个表就会有多少个xml文件。

2012/07/02  09:52             8,539 sheet1.xml
2025/07/21  11:38            71,995 sheet10.xml
2025/07/21  11:38           164,079 sheet2.xml
2025/07/21  11:38           154,630 sheet3.xml
2012/07/02  09:52           134,566 sheet4.xml
2012/07/02  09:52           222,795 sheet5.xml
2012/07/02  09:52           371,148 sheet6.xml
2012/07/02  09:52           381,736 sheet7.xml
2025/07/21  11:38            49,699 sheet8.xml
2025/07/21  11:38            27,218 sheet9.xml
2025/07/21  11:37    <DIR>          _rels

用notepad++等文本编辑工具打开这些xml文件

ctrl + f 搜索 “sheetProtection” 字样,会搜出来 “sheetProtection” 开头的标签,比如:

<sheetProtection password="C407" sheet="1" formatCells="0" formatColumns="0" formatRows="0" autoFilter="0" pivotTables="0" objects="1"/>

内容无需关注,只要确定是“<sheetProtection”开头的就可以,之后从“<sheetProtection”到“/>”这一整个标签都需要删掉。

将所有表中“<sheetProtection”开头的标签都删除之后,可以再将下面这些打包成一个zip文件,之后将后缀名修改为xlsx

2025/07/21  11:37    <DIR>          docProps
2025/07/21  11:37    <DIR>          xl
2025/07/21  11:37    <DIR>          _rels
2012/07/02  09:52             2,869 [Content_Types].xml