+ Reply to Thread
Results 1 to 3 of 3

Protecting cells in a list

  1. #1
    Registered User
    Join Date
    05-12-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2010
    Posts
    4

    Protecting cells in a list

    Hi i am new to excel so please excuse my lack of knowledge.
    What i require is a list that can be protected but still allow data to be added by 20 or so diffrent users on a network. once they have entered their data and exited their data then becomes protected automatically,is this something that is possible? Any help would be greatly appreciated

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Protecting cells in a list

    Preparation:

    1) Unprotect the worksheet
    2) Select all cells on the sheet
    3) CTRL-1 > Protection > UNLOCK them > OK
    4) Select all cells
    5) Press F5 (Goto) > Special > Constants> OK
    6) CTRL-1 > Protection > LOCK the selected cells
    7) Select all cells
    8) Press F5 (Goto) > Special > Formulas > OK
    9) CTRL-1 > Protection > LOCK the selected cells

    Now the sheet is ready to automate.

    Open the VB editor and put this macro into the ThisWorkbook module, be sure to edit it to process the correct sheet name:
    Please Login or Register  to view this content.

    The way this works is that any unlocked cell on that sheet is fully editable until the user closes the workbook. At that moment the updated cells are locked and become uneditable.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    05-12-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2010
    Posts
    4

    Thumbs up Re: Protecting cells in a list

    Jerry that is fantastic...... i have been trying in my fumbling way to solve this problem all day with no success and it took 2 minutes to implement your method and it works just how i need it to.
    Your explination was at my level also, very simple easy steps to follow. Thank you very much

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1