+ Reply to Thread
Results 1 to 2 of 2

Locking Select Cells

  1. #1
    Registered User
    Join Date
    11-10-2021
    Location
    Vancouver, Canada
    MS-Off Ver
    Microsoft Office Home and Business 2019 - Excel and Word.
    Posts
    17

    Locking Select Cells

    I would like to lock specific cells, for instance column A, row 3, and cells C5 and C6.

    I would then like to be able to easily lock and unlock all the other cells without ever unlocking the selected rows and cells listed above. Is it possible to do this?

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,705

    Re: Locking Select Cells

    It is only possible with VBA. There is no "hard lock" function that will allow you to say "Unlock all the cells except these ones that I want to stay locked."

    Please Login or Register  to view this content.
    If this code is put into a worksheet module it will operate on that worksheet.
    If it is put into a standard module it will operate on whatever sheet is active.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. locking specific cells ends up locking the whole sheet and I dont know why
    By jitterbug888 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-10-2019, 12:14 AM
  2. [SOLVED] Locking Cells without locking worksheet
    By navialivad in forum Excel General
    Replies: 5
    Last Post: 11-24-2014, 12:44 PM
  3. Replies: 0
    Last Post: 07-31-2014, 04:32 AM
  4. 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
  5. 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
  6. Locking columns containing formulas but being able to select & delete rows
    By bernborough in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2010, 03:34 AM
  7. [SOLVED] locking formula in cells in without locking whole sheet
    By SuziQ in forum Excel General
    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