+ Reply to Thread
Results 1 to 6 of 6

How do I keep the date entry TODAY() frozen on that specific date.

  1. #1
    Registered User
    Join Date
    03-06-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    4

    Red face How do I keep the date entry TODAY() frozen on that specific date.

    Hi all,

    I am working on a spreadsheet to create a school 'tracking' system based on excel. What I need is that as soon as a box in column B is ticked, a date (TODAY() is entered in column A. That is not so difficult, and I have used the formula in cells in column A:
    =IF(ISBLANK(Bx);"";TODAY()), where x is the specific row.
    So, keep cell A clear untill something is written in cell B.
    This works fine.

    But, for the purpose I need to keep the TODAY() date fixed after entry. And it need to be erased again if the tickbox in cell B is emptied again. It need then to re-enter a new date after cell B is re-used.

    I have looked into your Forum for answers but cannot find it. I know this has to be done with a Macro or VBA, but I am not enough skilled to find out myself.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: How do I keep the date entry TODAY() frozen on that specific date.

    Try this in the worksheet module:

    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    03-06-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: How do I keep the date entry TODAY() frozen on that specific date.

    Thanks! No error messages yet.. I have to wait till tomorrow to see if it works. But it seems a good script!

  4. #4
    Registered User
    Join Date
    03-06-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    4

    Question Re: How do I keep the date entry TODAY() frozen on that specific date.

    Hi

    I opened the spreadsheet today and the date was changed to 7-03, it updated the date. So something is not working well....

    What do I have to do in the spreadsheet? Leave column A empty? Or do I need to link to this module? how to do that?

    Can someone look into the problem?

    Greetings Christel
    Last edited by chartkamp; 03-07-2014 at 03:40 AM.

  5. #5
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: How do I keep the date entry TODAY() frozen on that specific date.

    Please attach your workbook.

  6. #6
    Registered User
    Join Date
    03-06-2014
    Location
    Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: How do I keep the date entry TODAY() frozen on that specific date.

    I finally understood the solution that I had to put it under the worksheet. It is working fine now.
    Attached Files Attached Files
    Last edited by chartkamp; 03-10-2014 at 03:02 PM.

+ 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. Automatically enter today's date as a static entry
    By David in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-08-2014, 09:56 AM
  2. Validate date so entry can not be greater than today
    By imayno in forum Excel General
    Replies: 6
    Last Post: 08-22-2012, 05:08 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