Forum Discussion

whiteen's avatar
whiteen
Copper Contributor
May 18, 2021
Solved

Protect Sheet

Hello.. I have a workbook that has around 50 tabs within it. Another individual is responsible for updating approximately 5-8 cells/rows for 30 of those tabs, while I am responsible for the rest of i...
  • HansVogelaar's avatar
    May 18, 2021

    whiteen 

    You can specify those options in the code. If you don't, they'll be disabled by default:

     

    wSheet.Protect Password:=Pwd, DrawingObjects:=True, Contents:=True, Scenarios:=True, _
        AllowFormattingCells:=True, AllowFormattingColumns:=True, _
        AllowFormattingRows:=True, AllowInsertingRows:=True

Resources