+ Reply to Thread
Results 1 to 5 of 5

Another Conditional Unlocking Thread

  1. #1
    Registered User
    Join Date
    01-09-2016
    Location
    nanaimo,bc
    MS-Off Ver
    2013
    Posts
    4

    Another Conditional Unlocking Thread

    I use excel regularly but only on a very basic level and have just started attempting to use macros. My problem is as follows, I am trying to build new time sheets for my various projects but my employees never fill them out right so I am making it that they must and cannot delete my formulas. Also, the way our accounting works I like to keep all of the names on the sheet and in the same order for that pay period. What I have done is locked all of the cells where the names go with the exception of the first worksheet and then put a formula into all subsequent worksheets (14 total) that for example if B11 = B11 on sheet 2.
    What I would like to do is the following:
    If B11 (which equals whatever was inputted in the previous sheet) is blank then unlock otherwise stay locked. Now I have tried a few formulas that I had sourced out on the net and have been messing with this for about 2 hours but I think I am just lost. Any help would be appreciated.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Another Conditional Unlocking Thread

    Hi, welcome to the forum

    It is always better with something like thyis, if you could upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

    Have you considered making them add names at the end of the list instead of the beginning/middle?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-09-2016
    Location
    nanaimo,bc
    MS-Off Ver
    2013
    Posts
    4
    Quote Originally Posted by FDibbins View Post
    Hi, welcome to the forum

    It is always better with something like thyis, if you could upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

    Have you considered making them add names at the end of the list instead of the beginning/middle?
    Thanks for the advice, I just got home and this on my work computer. I will upload a copy in the am

  4. #4
    Registered User
    Join Date
    01-09-2016
    Location
    nanaimo,bc
    MS-Off Ver
    2013
    Posts
    4

    Re: Another Conditional Unlocking Thread

    DTS_New Template.xlsx

    Here is the attached, so basically is what I am looking to do is:
    - on the first tab B11:B30 is unlocked to enter employee names
    - all cells in B11:B30 on the second sheet that auto-populate the names entered on previous sheet will be locked and all others in that column will be unlocked for future entry
    - if someone adds names to the list on sheet two, those cells in the next tab will auto-populate and be locked and all blank will be unlocked, and so on...

    I have locked the sheet so you can see what I am going for but for the purpose of this copy the password will be: password

  5. #5
    Registered User
    Join Date
    01-09-2016
    Location
    nanaimo,bc
    MS-Off Ver
    2013
    Posts
    4

    Re: Another Conditional Unlocking Thread

    I just noticed a couple of errors on that sheet that do not appear on my main sheet, the dates in summary I will fix and the names that show "0" in summary I have been addressing by formatting the cell in custom with 0;;;@

+ 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. Conditional Locking-Unlocking cells without using macros
    By spiros63 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-03-2015, 01:29 PM
  2. Conditional Cell Locking/Unlocking From Previous Drop Down
    By UnreadSix in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2014, 04:45 PM
  3. Unlocking Chart Axis Title under locked sheet without unlocking the sheet
    By dalelengle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-16-2012, 08:59 PM
  4. Conditional Unlocking
    By hektisk in forum Excel Programming / VBA / Macros
    Replies: 38
    Last Post: 02-26-2011, 08:16 PM
  5. conditional locking and unlocking of column cells
    By d.archana5 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-08-2009, 05:28 AM
  6. Conditional Cell Locking/Unlocking
    By deelee in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-27-2006, 06:31 PM
  7. conditional unlocking of cells
    By hiryuu in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-19-2005, 07:44 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