> 技术文档 > VB解除excel保护工作表

VB解除excel保护工作表


一、找到开发工具

二、编写宏脚本

Sub a()ActiveSheet.Protect DrawingObjects:=True, Contents:=True, AllowFiltering:=TrueActiveSheet.Protect DrawingObjects:=True, Contents:=False, AllowFiltering:=TrueActiveSheet.UnprotectEnd Sub

三、运行宏

百雅轩艺术推广