Results 1 to 10 of 10

Lock range of cells until a single cell is edited

Threaded View

  1. #1
    Registered User
    Join Date
    05-21-2013
    Location
    London, England
    MS-Off Ver
    Office365
    Posts
    22

    Lock range of cells until a single cell is edited

    Hi All,

    Not sure if something similar is already posted, however my VBA experience is non existent.

    Please see attached file.

    What I am trying to achieve is that when the spread sheet is opened cells C8 to F17 are completely locked so that no data can be entered. When cell C2 is edited and a value entered, then cells C8 to F17 are unlocked and editable.

    This is where I am struggling, cell C2 is a predefined list using data validation. Cells C8 to F17, will either be a predefined list, date input only, number input only or free text input only all cells having data validation for these already.

    To simplify this example more, in cells C8 to C17 is a predefined list using data validation. Then when I open the spread sheet and Cell C2 is blank, I cant adjust any cells in C8 to C17. When I pick an item from cell C2, then cells C8 to C17 become active and able to select from the list for that cell.

    I believe there is no way to do this using just data validation and protection of the sheet only and requires some sort of VBA code.

    Thanks.
    Last edited by pritesh118; 09-10-2014 at 04:48 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Can you lock a cell or prevent it from being edited with a formula?
    By bryanr72 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-11-2014, 10:37 AM
  2. Replies: 1
    Last Post: 09-17-2012, 01:07 AM
  3. Lock cell from being edited or copied/pasted
    By da_sprite in forum Excel General
    Replies: 1
    Last Post: 09-09-2012, 01:10 AM
  4. Replies: 0
    Last Post: 07-19-2012, 07:31 AM
  5. pROTECT OR lOCK CELLS SO THAT THEY CANNOT BE EDITED
    By facmess1 in forum Excel General
    Replies: 1
    Last Post: 05-31-2007, 05:26 PM

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