+ Reply to Thread
Results 1 to 8 of 8

how to lock/protect automaticaly columns with dates less then curent date

  1. #1
    Registered User
    Join Date
    06-13-2012
    Location
    bucharest
    MS-Off Ver
    Excel 2007
    Posts
    8

    how to lock/protect automaticaly columns with dates less then curent date

    Hi All, can someone help me with a code ?? I create a excel file and I want to lock automaticaly all the columns with date pasted. I put dates on row 1 (starting B1 to AN1). On cell A1 is current day. All columns with dates less then current date should be lock/protect automaticaly. thanks in advance. please check below my excel :

    test01.xlsx

  2. #2
    Registered User
    Join Date
    06-13-2012
    Location
    bucharest
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: how to lock/protect automaticaly columns with dates less then curent date

    help pls ...

  3. #3
    Registered User
    Join Date
    06-13-2012
    Location
    bucharest
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: how to lock/protect automaticaly columns with dates less then curent date

    need your help ... pls ... i have a deadline

  4. #4
    Registered User
    Join Date
    06-13-2012
    Location
    bucharest
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: how to lock/protect automaticaly columns with dates less then curent date

    nobody willing to help ??? come on guys ... you can do it

  5. #5
    Registered User
    Join Date
    06-13-2012
    Location
    bucharest
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: how to lock/protect automaticaly columns with dates less then curent date

    2 weeks = no results

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,685

    Re: how to lock/protect automaticaly columns with dates less then curent date

    Pl see the attached file.
    Worksheet_change event is used.
    When the date in A1 cell is changed cells in columns upto Date less than the date in A1 cell are locked.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-13-2012
    Location
    bucharest
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: how to lock/protect automaticaly columns with dates less then curent date

    thanks, but is not working. I put in A1 cell date of today and not all cells in columns less than the date in A1 are locked.

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,685

    Re: how to lock/protect automaticaly columns with dates less then curent date

    Pl See the attached file now.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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