+ Reply to Thread
Results 1 to 4 of 4

How to prevent date from changing

  1. #1
    Registered User
    Join Date
    03-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    1

    How to prevent date from changing

    I am using a workbook to keep daily records of events. Each day I copy the 'blank' form which contains formatting, including one field which is simply =today() Once I have copied a sheet, and the date for that day has been calculated, I don't want it to change.

    Can anyone suggest a better way to set a cell to automatically pick up that day's date, and then stay locked after that, so when the data is accessed on another day the date does not automatically change after it has been set the first go?

    Thanks
    BlackFireNova

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: How to prevent date from changing

    Have you tried pasting values only?
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  3. #3
    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,926

    Re: How to prevent date from changing

    Instead of using the formula, todays date can be quickly inserted by using ctrl ; (semi-colon) This could be added to a macro that activates when the WB is opened, but then that would change to today's date whenever you open it again
    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

  4. #4
    Forum Contributor timtim89's Avatar
    Join Date
    01-05-2012
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010
    Posts
    141

    Re: How to prevent date from changing

    Untested, but try this one:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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