浪费了一个币
vba的密码吗 这么神奇,看看效果如何, 这个好玩试一下 ynhh试试看这 ynhh 发表于 2020-5-29 14:20
根本解不了
浪费了一个币
Option Explicit
Sub xxx()
Dim x&
On Error Resume Next
For x = 1 To Sheets.Count
With Sheets(x)
.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True _
, AllowFiltering:=True, AllowUsingPivotTables:=True
.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _
False, AllowFiltering:=True, AllowUsingPivotTables:=True
.Protect DrawingObjects:=True, Contents:=True, Scenarios:= _
False, AllowFiltering:=True, AllowUsingPivotTables:=True
.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _
True, AllowFiltering:=True, AllowUsingPivotTables:=True
.Unprotect
End With
Next x
End Sub 到底行不行,还收费1块大洋 可以用谢谢!!
页:
1
[2]