+ Reply to Thread
Results 1 to 3 of 3

Last Modification Date

  1. #1
    Hal
    Guest

    Last Modification Date

    I would like to create a formula that puts the date the file was last
    saved/updated.

    Any help is appreciated

    Hal

  2. #2
    Alan
    Guest

    Re: Last Modification Date

    You can't do it with a formula, you'd need VBA code like in 'This Workbook'

    Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As
    Boolean)
    Sheet1.Range("A1") = Date
    End Sub

    Regards,
    Alan.

    "Hal" <[email protected]> wrote in message
    news:[email protected]...
    >I would like to create a formula that puts the date the file was last
    > saved/updated.
    >
    > Any help is appreciated
    >
    > Hal




  3. #3
    Bob Phillips
    Guest

    Re: Last Modification Date

    '-----------------------------------------------------------------
    Function DocProps(prop As String)
    '-----------------------------------------------------------------
    Application.Volatile
    On Error GoTo err_value
    DocProps = ActiveWorkbook.BuiltinDocumentProperties _
    (prop)
    Exit Function
    err_value:
    DocProps = CVErr(xlErrValue)
    End Function

    and enter in a cell such as
    =DocProps ("last author")
    or
    =DocProps ("last save time")



    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    "Hal" <[email protected]> wrote in message
    news:[email protected]...
    > I would like to create a formula that puts the date the file was last
    > saved/updated.
    >
    > Any help is appreciated
    >
    > Hal




+ 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