+ Reply to Thread
Results 1 to 3 of 3

How to lock an excel row when certain cells are no longer blank?

  1. #1
    Registered User
    Join Date
    05-17-2021
    Location
    Ecuador
    MS-Off Ver
    2013
    Posts
    2

    How to lock an excel row when certain cells are no longer blank?

    I have an excel with school tuition payments in a table where each row is a monthly payment. I want to lock all the rows that have been paid (that is if there is amount in column E) so that it cannot be erased or changed without a password.enter image description here

    The rows that have been paid are not necessarily in order.

    I have tried a ton of different VBA codes that I have found here. But none of them have worked for me (some of them work but they only lock the rows that I´m editing at that moment and not all the rows that have values in Column E)

    I have never worked with VBA...But I have to fix this. I am in a Mission School in Ecuador and I don´t know anyone who can help me... I really need to fix this soon because the secretary has already accidently erased data (!!!) I am posting this question on several websites because I am desperate. =D
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Hna Emma; 05-17-2021 at 06:31 PM.

  2. #2
    Registered User
    Join Date
    05-17-2021
    Location
    Ecuador
    MS-Off Ver
    2013
    Posts
    2

    Re: How to lock an excel row when certain cells are no longer blank?

    Someone has helped me solved the problem in stackoverflow (I´ve posted the question with the same name used here.)

  3. #3
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: How to lock an excel row when certain cells are no longer blank?

    Would you be kind enough to post that answer here ?

    Thank you.

+ 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. Auto lock the Non-Blank Cells
    By mvinay in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-15-2019, 04:36 AM
  2. Replies: 1
    Last Post: 01-31-2018, 04:24 PM
  3. [SOLVED] how to lock certain cells if another cell is blank
    By naderassaleh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-08-2014, 05:52 PM
  4. Replies: 2
    Last Post: 02-22-2012, 10:10 AM
  5. Formula to compare if multiple cells no longer blank
    By pdauction in forum Excel General
    Replies: 2
    Last Post: 04-21-2011, 08:31 AM
  6. Lock cells with data; keep blank cells unlocked
    By kchen in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-28-2010, 01:36 AM
  7. Lock Cells if not blank?
    By setab in forum Excel General
    Replies: 2
    Last Post: 05-25-2010, 04:31 PM

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