+ Reply to Thread
Results 1 to 6 of 6

Locking Cells without locking worksheet

  1. #1
    Registered User
    Join Date
    07-24-2014
    Location
    Phoenix
    MS-Off Ver
    2007
    Posts
    21

    Locking Cells without locking worksheet

    Greetings

    I currently need to lock some formulas in a worksheet to eliminate the possibility of the user writing on top of it. The user needs to fill in some information in the sheet, reason for not locking the whole thing. I know this can be done with VBA code but, is there a different way of doing it?

    Thanks in advance!

  2. #2
    Forum Contributor
    Join Date
    01-30-2013
    Location
    Wales
    MS-Off Ver
    Excel 2013
    Posts
    231

    Re: Locking Cells without locking worksheet

    Hi-light all of the cells in the sheet, unlock them, then lock the few that you want locking and protect the sheet.
    Click * below if this answer helped

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

    Re: Locking Cells without locking worksheet

    You can unlock cells that you want the user to be able to enter data into and still lock the worksheet. That's the way most worksheets work.

    Let's say Data will be entered into A2:C500 and F2:F500 but you want the rest locked.
    Select that range only, right click > Format cells> Protection Tab> Uncheck "Locked"
    Then when you protect the worksheet, the "unlocked" cells can still accept data.
    Does that work for you?
    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

  4. #4
    Registered User
    Join Date
    07-24-2014
    Location
    Phoenix
    MS-Off Ver
    2007
    Posts
    21

    Re: Locking Cells without locking worksheet

    Thanks, Ill try it

  5. #5
    Registered User
    Join Date
    07-24-2014
    Location
    Phoenix
    MS-Off Ver
    2007
    Posts
    21

    Re: Locking Cells without locking worksheet

    Thanks for the explanation, worked perfectly. Feel kind of silly, have been trying for a whiiiile to lock the cells and what I needed to do was to unlock the one I needed to be unlocked.

    Thanks

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

    Re: Locking Cells without locking worksheet

    Glad to help

+ 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. [SOLVED] Locking only certain cells on worksheet
    By Mum-O-Killowe in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-03-2014, 02:07 PM
  2. Locking specific cells eventually changing to locking all cells
    By davidingilbert in forum Excel General
    Replies: 1
    Last Post: 03-19-2013, 06:50 PM
  3. Help with macro, automatical locking cells when excel is closed but only locking 1 sh
    By snoopy1461 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-21-2011, 11:29 AM
  4. Macro for locking cells after worksheet is protected
    By Hugo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-17-2006, 04:05 PM
  5. Replies: 1
    Last Post: 07-21-2006, 11:05 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