+ Reply to Thread
Results 1 to 11 of 11

Date stamp

  1. #1
    Registered User
    Join Date
    06-20-2012
    Location
    tirana
    MS-Off Ver
    Excel 2003
    Posts
    26

    Date stamp

    hi
    Need Advice
    How can i save a file excel with the data =(today) . 16.06.2015
    I want that the date not to change when i open that file tomorrow for ecx ( it shoes 17.06.2015). i want it to remain the date i createt 16.06.2015.

    How can it stay always the data i created the file.

    Thanks

    You are very helpful to me
    Last edited by viola; 06-16-2015 at 08:34 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    04-27-2015
    Location
    Abu Dhabi, U.A.E
    MS-Off Ver
    Office 365 | 2016
    Posts
    697

    Re: Data Excel

    In a cell, please enter =Today()
    or =Now()

  3. #3
    Registered User
    Join Date
    06-20-2012
    Location
    tirana
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Data Excel

    ok, but when i reopen the file i shoes the date when i open ( now) not the date when i create.
    I enter In a cell, =Today(). ant i shoes 16.06.2015.
    i want that when i open the file tomorrow it shoes 16.06.2015 again not 17.06.2015 =Today()

  4. #4
    Registered User
    Join Date
    06-20-2012
    Location
    tirana
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Data Excel

    Ok Thanks ,

    Sorry!

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Date stamp

    Read here how you can do it!
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  6. #6
    Registered User
    Join Date
    06-20-2012
    Location
    tirana
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Date stamp

    Thank-you for your answer but i don't understand

  7. #7
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Date stamp

    Hello
    If you use the TODAY() function it will always update to the system date of the computer. If you want to place a permanent date in a cell, then you'll have to enter it manually, or with keyboard shortcut: Ctrl+;.

    If it needs to be automated, then you'll have to use some VBA code.

    DBY

  8. #8
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Date stamp

    Hi viola,

    If it's always going to be today's date that you enter, then use DBY's suggestion of Ctrl-; which will enter today's date and it will always stay as that date. (If that is the case, please give him the reputation for answering your question(by clicking the star symbol on the left) - don't give it me, that wouldn't be fair!)

    If you want today's date automatically, then try this code, which will enter TODAY in the active cell then make it permanent so it doesn't update:
    Please Login or Register  to view this content.
    If you want it to go in a specific cell, try this, altering the cell reference as required:
    Please Login or Register  to view this content.
    If you want the date the spreadsheet was created (which might not be today), try this:
    Please Login or Register  to view this content.
    Just for completeness, if you want the date the spreadsheet was last modified, use this:
    Please Login or Register  to view this content.
    Either of the two previous can be made to enter in a set cell by adding 'Range("A1").Select' as in the second code above. Also, you can alter the date format to whatever you want; if you want your default short date format, use "short date".

    Finally, if you want any of these to run automatically when the workbook runs, open the Visual Basic Editor by pushing Alt-F11. Then click the folder on the left called 'Microsoft Excel Objects', then click the 'ThisWorkbook' module and enter the macro like this:

    Please Login or Register  to view this content.
    I hope that all makes sense and is of some help.

    Regards,
    Aardigspook

  9. #9
    Registered User
    Join Date
    06-20-2012
    Location
    tirana
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Date stamp

    Thanks, i love this forum

  10. #10
    Registered User
    Join Date
    06-20-2012
    Location
    tirana
    MS-Off Ver
    Excel 2003
    Posts
    26

    Re: Date stamp

    Thanks for your answer, you helped me a lot

  11. #11
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Date stamp

    You're welcome.

    Edit: and thank you for the rep.
    Last edited by Aardigspook; 06-18-2015 at 01:57 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. Excel Macro to copy Excel Invoice data to Excel Database - Works Perfect. But
    By asifmars in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2014, 04:01 AM
  2. Copying content of one excel to another excel and sending email with excel data
    By archies.gall in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-26-2012, 02:22 PM
  3. [SOLVED] Move data from excel 1 to excel 2 and also copy file name as sheet name in excel 2
    By akulas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-25-2012, 04:20 AM
  4. Use of Excel to pull data from database daily, posting new data below older data
    By Ishness in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-09-2011, 10:08 AM
  5. Updating Excel data with a newer version of Excel data
    By steviec334567 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-26-2006, 07:15 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