📅  最后修改于: 2022-03-11 14:51:55.783000             🧑  作者: Mango
'Apply worksheet protection to contents, objects and scenarios
Sheets("Sheet1").Protect Password:="myPassword", _
DrawingObjects:=True, _
Contents:=True, _
Scenarios:=True