📜  excel vba 保护形状 - VBA 代码示例

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

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