+ Reply to Thread
Results 1 to 6 of 6

Automatic the date

Hybrid View

  1. #1
    Registered User
    Join Date
    10-23-2003
    Posts
    81

    Automatic the date

    Hi, how can you automatic the date to today's date when you open the excel file?

    ie.

    Price Report For 02/25/09
    Last edited by TaGY2K; 02-26-2009 at 04:56 PM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: Automatic the date

    Maybe

    ="Price Report For "& TEXT(TODAY(),"mm/dd/yy")
    Changes to today's date when workbook opened

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    10-23-2003
    Posts
    81

    Re: Automatic the date

    Hi, I try this for yesterday's date and it doesn't work..


    ="Price Report For "& TEXT(YESTERDAY(),"mm/dd/yy")

  4. #4
    Forum Contributor
    Join Date
    01-06-2009
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    415

    Re: Automatic the date

    try
    ="Price Report For "& TEXT(TODAY()-1,"mm/dd/yy")

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988

    Re: Automatic the date

    No such excel function as
    YESTERDAY()
    Try excellentexcel adjustment

    VBA Noob

  6. #6
    Registered User
    Join Date
    10-23-2003
    Posts
    81

    Re: Automatic the date

    works .. thanks..

+ 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