+ Reply to Thread
Results 1 to 6 of 6

Cell locking problem

  1. #1
    Registered User
    Join Date
    11-10-2008
    Location
    India
    Posts
    35

    Unhappy Cell locking problem

    Hi Friends,
    I'm getting a problem to lock a cell.
    I lock a cell by that way -
    1. Right click on targeted blank cell.
    2. Click on on Format cell menu.
    3. Select protection tab, from 'Format Cells' window.
    4. Checked 'Locked' check box.
    5. Click on OK
    6. Then I protect the sheet.

    After doing these steps I can put some value in that cell but if I choose a cell with some value then it stopped to change it's value and shows a message box about protected.
    Seems to me I'm doing some mistake to protect a blank cell. Please help me.

    Thanks,
    Suman

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Cell locking problem

    to lock an individual cell you
    select whole sheet
    format cells un check locked
    now all cells are unlocked
    now select your cell and format cell
    check lock
    now protect sheet
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    11-10-2008
    Location
    India
    Posts
    35

    Re: Cell locking problem

    Thanks for reply.
    But I'm doing the same but not working (see my steps). Any other idea?

    Regards,
    Suman

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Cell locking problem

    no you're not you haven't unlocked them all first
    if you protect sheet the way you describe all will be locked

  5. #5
    Registered User
    Join Date
    11-10-2008
    Location
    India
    Posts
    35

    Re: Cell locking problem

    Thanks, it works fine.
    But I can't unlock first the sheet, because it's an existing sheet with thousands of rows with hundreds of columns. And there has many cells with locked and unlocked.
    So at that point how I can do it? Please help.

    Regards,
    Suman

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Cell locking problem

    If this is the case, then you must highlight/select all of the cells that you wish to unlock (you can do this with noncongruous cells by holding down the cntrl key). Then uncheck the Lock Cells box.

    It sounds like you are saying that after you unprotect a cell, it allows you to put in a value but then does not allow you to change it. Is this true? If that is the case, then you have code or data validation working in the background.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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