+ Reply to Thread
Results 1 to 5 of 5

lock entire row with a value in cell & unlock it after a password &value in cell is given

  1. #1
    Registered User
    Join Date
    08-07-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    7

    lock entire row with a value in cell & unlock it after a password &value in cell is given

    i need a help
    the below vba helps to lock the corresponding row when double clicked a cell in Column "W'
    also when we unlock using unprotect sheet with password all the rows get unlocked.


    i need this to be changed as -
    lock the row only when i enter a value (say "105") in a cell (Say "BB1"),and the full row in the column A (containing value "105") should be locked. like wise there should be option in a cell (Say "BC1") to unlock a particular row too when value password given and value entered in "BC1"
    Please Login or Register  to view this content.
    Last edited by ajish002; 12-21-2014 at 12:21 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,483

    Re: lock entire row with a value in cell & unlock it after a password &value in cell is gi

    Please Login or Register  to view this content.

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: lock entire row with a value in cell & unlock it after a password &value in cell is gi

    Hi, ajish002,

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)




    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    http://www.mrexcel.com/forum/excel-q...ld-locked.html

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Registered User
    Join Date
    08-07-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: lock entire row with a value in cell & unlock it after a password &value in cell is gi


  5. #5
    Registered User
    Join Date
    08-07-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: lock entire row with a value in cell & unlock it after a password &value in cell is gi


+ 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. Lock/Unlock a cell based on the value selected from drop down in adjacent cell
    By mahesnrm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-23-2013, 08:28 AM
  2. Replies: 1
    Last Post: 09-12-2013, 10:38 PM
  3. Lock and unlock sheets with password , diffrent usernames different actions
    By Barry Engelbrecht in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-20-2013, 07:06 AM
  4. Lock and unlock a cell or two cells based on a value of another cell
    By Rocky2013 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2013, 07:34 PM
  5. How to Lock/Unlock a Cell Based on the Contents of Another Cell?
    By bbright1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-24-2013, 11:20 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