+ Reply to Thread
Results 1 to 2 of 2

How to enable locking a cell automatically after certain date

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    1

    How to enable locking a cell automatically after certain date

    I am not sure, is there any old thread in regard to this feature of excel. (I could not find one). Can any body help me out for this.

    How to enable locking a cell automatically after a certain date?

    for example, cell a2 I have entered some data "3000Ltrs", and a date "1 Aug 2012" entered in a3. I want the 'A2' cell to get locked after 30days from date entered in "A3"(ie 31 Aug 2012), so that the user will not be able to alter the data in 'A2' without Changing "A3".

  2. #2
    Valued Forum Contributor
    Join Date
    08-14-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    573

    Re: How to enable locking a cell automatically after certain date

    Hi, You can try this code. You need to protect the sheet, for the locking to take effect.
    Please Login or Register  to view this content.

  3. #3
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: How to enable locking a cell automatically after certain date

    Hello rao.gnaneswara,

    Welcome to the Forum.

    The attached WorkBook demonstrates how it can be done.

    Also see the "Please consider" note at the bottom of this post.
    Attached Files Attached Files
    Last edited by Winon; 10-11-2012 at 02:53 AM. Reason: WorkBook did not upload
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

+ 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