|
回复 26楼 leroy 的帖子
本来就不是万能的,即使是下面4句连起来也不是100%成功,至少我遇到过两次不成功案例了。
- ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True _
- , AllowFiltering:=True, AllowUsingPivotTables:=True
- ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _
- False, AllowFiltering:=True, AllowUsingPivotTables:=True
- ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:= _
- False, AllowFiltering:=True, AllowUsingPivotTables:=True
- ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _
- True, AllowFiltering:=True, AllowUsingPivotTables:=True
- ActiveSheet.Unprotect
复制代码 |
|