Excel”被保护单元格不支持此功能“解决办法

资源分享来源:吾爱破解评论18

打开表格,按Alt+F11,插入->模块->粘贴以下VBA代码,点击运行(F5),弹出撤销保护对话框后,点击取消就可以编辑文件了。文章源自HAM小站-https://bh8sel.com/6368.html

文章源自HAM小站-https://bh8sel.com/6368.html

Sub DeletePW()

ActiveSheet.Protect DrawingObjects:=True, Contents:=True, AllowFiltering:=True

ActiveSheet.Protect DrawingObjects:=False, Contents:=True, AllowFiltering:=True

ActiveSheet.Protect DrawingObjects:=True, Contents:=True, AllowFiltering:=True

ActiveSheet.Protect DrawingObjects:=False, Contents:=True, AllowFiltering:=True

ActiveSheet.Unprotect

End Sub
文章源自HAM小站-https://bh8sel.com/6368.html文章源自HAM小站-https://bh8sel.com/6368.html
 最后更新:2026-1-17
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定

拖动滑块以完成验证