策略:删除密码保护,而非破解密码
例
该工作簿有工作表保护,因忘记密码,无法更改内容。![image image]()
解决方案
1、用压缩软件打开表格。
![image image]()
2、向下进入目录:xl/worksheets,选择sheet1.xml,用记事本或其他文本编辑软件打开,均可,其他表同理。
使用查找工具,Ctrl+F,搜索:sheetProtection![image image]()
3、将<sheetProtection …… />以及(如有)<protectedRanges>……</protectedRanges>之间内容全部删掉。![image image]()
4、退出并保存,将修改更新到压缩包
![image image]()
5、重新用Excel打开,密码已经解除。
![image image]()