• formula to find file mod. date of exel file (2003)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » formula to find file mod. date of exel file (2003)

    Author
    Topic
    #404107

    I have a request to find a way to get the file’s modification date.

    Can’t seem to find anything that’s getting me there. Can someone give me a pointer?

    Thanks
    Jim

    Viewing 1 reply thread
    Author
    Replies
    • #819692

      You would need to create a custom function for this:

      Public Function GetSaveDate()
      On Error Resume Next
      GetSaveDate = ActiveWorkbook.BuiltinDocumentProperties(“Last Save Time”)
      End Sub

      You can then put this formula in a cell:

      =GetSaveDate()

      The On Error Resume Next avoids errors if the workbook has not been saved yet, or if the active document is not an Excel workbook.

    • #819693

      You would need to create a custom function for this:

      Public Function GetSaveDate()
      On Error Resume Next
      GetSaveDate = ActiveWorkbook.BuiltinDocumentProperties(“Last Save Time”)
      End Sub

      You can then put this formula in a cell:

      =GetSaveDate()

      The On Error Resume Next avoids errors if the workbook has not been saved yet, or if the active document is not an Excel workbook.

    Viewing 1 reply thread
    Reply To: formula to find file mod. date of exel file (2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: