modified date
modified date
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: modified date

  1. #1
    Guest

    Default

     
    Is there a way to have a cell report the date the file was last modifed? Thanks in advance.

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Look at the Excel Help topic for "View information about changes to a workbook".

  3. #3
    MrExcel MVP Ivan F Moala's Avatar
    Join Date
    Feb 2002
    Location
    Auckland, New Zealand
    Posts
    4,209
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    On 2002-03-12 12:53, Anonymous wrote:
    Is there a way to have a cell report the date the file was last modifed? Thanks in advance.
    'This UDF may help

    Function FileLastMod() As String
    Dim FileDate As Double

    On Error Resume Next
    FileDate = FileDateTime(ThisWorkbook.FullName)
    If Err.Number = 0 Then
    FileLastMod = Format(FileDate, "dd/mm/yy hh:mm:ss")
    Else
    FileLastMod = "Error"
    End If
    End Function


    'Place in a Module and call from worksheet as follows

    '=FileLastMod()



    ivan



    Ivan

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com