excel vba protect content

The solution for “excel vba protect content” can be found here. The following code will assist you in solving the problem.

‘Apply protection on worksheet content (cells with Protected = True)
Sheets(“Sheet1″).Protect Password:=”myPassword”, _
DrawingObjects:=False, _
Contents:=True, _
Scenarios:=False

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts