📜  excel vba 保护内容 - VBA 代码示例

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

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