excel vba protect shapes

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

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

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

More questions on [categories-list]

Similar Posts