+ Reply to Thread
Results 1 to 5 of 5

time stamps detailing last save time

  1. #1
    Registered User
    Join Date
    01-11-2005
    Posts
    13

    time stamps detailing last save time

    hi,

    what is the best way of obtaining the last save time of another workbook/sheet. i want to create a sheet which lists the last time another workbook was saved?

    any ideas?

  2. #2
    Forum Contributor
    Join Date
    11-16-2004
    Posts
    282
    Follow the link in this site :

    http://www.excelforum.com/showthread.php?t=332359

    Hope this helps,
    theDude

  3. #3
    Registered User
    Join Date
    01-11-2005
    Posts
    13

    time stamps detailing last save time

    thanks for that, this gives me the time stamp for the active workbook, but how could i link it to another workbook or sheet to see if a user has saved their spreadsheet.

  4. #4
    Forum Contributor
    Join Date
    11-16-2004
    Posts
    282
    Try this (replace file reference in BOLD below with your own):

    Sub ShowFileAccessInfo()
    Dim fs, f, s
    Set fs = CreateObject("Scripting.FileSystemObject")
    Set f = fs.GetFile("C:\Temp\Workbook2.xls")
    s = UCase(f) & vbCrLf
    s = s & "Created: " & f.DateCreated & vbCrLf
    s = s & "Last Accessed: " & f.DateLastAccessed & vbCrLf
    s = s & "Last Modified: " & f.DateLastModified
    MsgBox s, 0, "File Access Info"
    End Sub

    Hope this helps,
    theDude

  5. #5
    Registered User
    Join Date
    01-11-2005
    Posts
    13

    time stamps detailing last save time

    Thanks again, one final question if i want to know the save time of several other worksheets used by other users how could i do this so i would get a list of save times on an excel sheet that i could monitor for save times of other users.

+ 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