📜  excel vba 保护方案 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:55.584000             🧑  作者: Mango

代码示例1
' Apply worksheet scenario protection only
Sheets("Sheet1").Protect Password:="myPassword", _
    DrawingObjects:=False, _
    Contents:=False, _
    Scenarios:=True