📜  excel vba保护表 - VBA代码示例

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

代码示例1
'Apply worksheet protection to contents, objects and scenarios
Sheets("Sheet1").Protect Password:="myPassword", _
    DrawingObjects:=True, _
    Contents:=True, _
    Scenarios:=True