Hi,
I would like use VBA code to protect excel worksheet and same time give users option to format cells, columns, rows.
I have recorded two different VBA codes but don't know how to merge them. Maybe someone can help?
First code:
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True _
, AllowFormattingCells:=True, AllowFormattingColumns:=True, _
AllowFormattingRows:=True
Second code:
ActiveSheet.Protect Password:="1
I would like use VBA code to protect excel worksheet and same time give users option to format cells, columns, rows.
I have recorded two different VBA codes but don't know how to merge them. Maybe someone can help?
First code:
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True _
, AllowFormattingCells:=True, AllowFormattingColumns:=True, _
AllowFormattingRows:=True
Second code:
ActiveSheet.Protect Password:="1