Forum Discussion

maker340's avatar
maker340
Copper Contributor
May 17, 2021

automating locking of group of cells

Hey Excel Nerds. I need to know if excel has this capacity. We have an excel workbook that has multiple sheets labeled as months and repeating tables on each sheet representing each day. Is there anyway that once a day is over, say midnight every night, that the table associated with that day gets locked automatically without someone manually having to lock it? I am looking to protect the sheet, but only for the parts that have passed in time since each table represents data from each day. historical data needs to be protected, which the currenty real-time day data can be entered by multiple people. 

9 Replies

  • Rajesh_Sinha's avatar
    Rajesh_Sinha
    Iron Contributor
    This needs VBA macro,,, if you are comfortable then edit your post and add new line as well the Tag VBA to the post !!
    • maker340's avatar
      maker340
      Copper Contributor
      Hey Rajesh-S! Thanks for the response. I watched some videos on VBA Macro. I don't think I'm equipped to figure it out and make it do what I need. Can you advise about where I can get outside help on this? Much appreciated!
      • Rajesh_Sinha's avatar
        Rajesh_Sinha
        Iron Contributor
        If possible attach the WB having the sheet has Group of Cells then I'll show you how to work with VBA macro !!

Resources