+ Reply to Thread
Results 1 to 4 of 4

Please Help! Creation Date from Properties

  1. #1
    Registered User
    Join Date
    03-09-2005
    Posts
    13

    Please Help! Creation Date from Properties

    Is there a way to insert the Created and Modified dates from the file properties box into the actual excel spreadsheet?

    Any help would be greatly appreciated.

    Thanks!

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good evening Jesterhs

    The only way I can think of would involve VBA, so you'll find that this routine does the trick:

    Sub CreateDate()
    g = ActiveWorkbook.BuiltinDocumentProperties("Last Save Time")
    Range("A1").Select
    ActiveCell.Value = g
    End Sub

    This will put the date and time into cell A1, but how exactly it is displayed depends upon how you format that particular cell. In addition to that, you will have to run the macro to update the cell. One way to get around that would be to call the macro on opening, either by calling it auto_open or dropping it into the workbook_open event procedure.

    HTH

    DominicB

  3. #3
    Registered User
    Join Date
    03-09-2005
    Posts
    13

    Talking

    Thanks. I will give that a try!

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867
    You're welcome.
    Thanks for the feedback.

    DominicB

+ 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