+ Reply to Thread
Results 1 to 3 of 3

Cell Protection based on text entry

  1. #1
    Forum Contributor
    Join Date
    10-15-2009
    Location
    Broooklyn, NY
    MS-Off Ver
    Excel 2016
    Posts
    208

    Cell Protection based on text entry

    I need to know if it is possible to protect cell based on the text entry. For instance, if I see the word LH, cell is protected with automatic formula, if I see the word LM, there is a manual input. Can I do that?

  2. #2
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Cell Protection based on text entry

    Hi Olga,

    Yes it is possible, but it would need to be done with an "event macro".

    If you post an example of your workbook, I can show you how. I need to see where the LH or LM will appear, and which cell you want locked.


    Regards,

    David

    Please remember, your request is clearer if you attach a sample workbook.
    - Reply, then Click on Go Advanced and click on the Paper Clip.

    If this has been of assistance, please advise.
    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".


  3. #3
    Valued Forum Contributor spitfireblue's Avatar
    Join Date
    01-29-2015
    Location
    Adelaide, Australia
    MS-Off Ver
    2007,2010,2016
    Posts
    611

    Re: Cell Protection based on text entry

    Hi olga6542,

    David A Coop is correct, you will need to do this with a macro.
    Here is an example with the cell to be locked/unlocked directly to the right of where you input LR/LM.
    Example.xlsm

    Please Login or Register  to view this content.
    If you can send through exactly what you are after we will be able to amend the code accordingly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 11-11-2017, 12:12 AM
  2. Replies: 8
    Last Post: 03-08-2015, 10:02 AM
  3. Replies: 2
    Last Post: 01-12-2015, 02:27 AM
  4. [SOLVED] Open a text box based upon cell entry
    By iwannabakat in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2014, 08:51 PM
  5. Replies: 2
    Last Post: 08-19-2009, 10:35 AM
  6. Protection of validation list cell entry
    By DesM in forum Excel General
    Replies: 4
    Last Post: 11-05-2006, 02:36 PM
  7. [SOLVED] Conditional formatting of an entire row based on a cell text entry
    By Gilles Desjardins in forum Excel General
    Replies: 2
    Last Post: 12-22-2005, 07:55 AM

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