+ Reply to Thread
Results 1 to 4 of 4

Display Document Editing Time in a Cell

  1. #1
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    14

    Display Document Editing Time in a Cell

    Hi,

    Is there any way to display the editing time of a document in a cell automatically?

    Cheers.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Display Document Editing Time in a Cell

    Hi greaseebogus,

    You need to have Macros enabled and have code similar to the following code in the 'ThisWorkbook' Module:
    Please Login or Register  to view this content.
    To enable Macros and to Run Macros see the following:
    http://office.microsoft.com/en-us/ex...010031071.aspx
    http://office.microsoft.com/en-us/ex...010014113.aspx
    If help is still needed do a google search for 'youtube excel enable macro' and/or 'youtube excel run macro'.

    To access Visual Basic (VBA) see:
    http://www.ablebits.com/office-addin...a-macro-excel/

    a. Click on any cell in the Excel Spreadsheet (may not be needed).
    b. ALT-F11 to get to VBA.
    c. CTRL-R to get project explorer (if it isn't already showing).
    d. Double Click on a 'Module Name' in 'Project Explorer' to see code for that module.

    Lewis

  3. #3
    Registered User
    Join Date
    05-15-2014
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Display Document Editing Time in a Cell

    Hi Lewis,

    Thanks for the reply - I should have clarified my question a bit better. I want to show the total document editing time, i.e. how many hours it has been worked on.
    Not sure if there is a way to do this or not.

    Cheers

  4. #4
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Display Document Editing Time in a Cell

    Total document editing time is a lot more interesting.

    See the attached file.
    The Total file Edit Time will be updated in 3 places each time the file is saved:

    a. Cell D1 in 'Sheet1' will display a last edited timestamp.
    To change the Sheet, cell, or format of the time display, make modifications to Sub Workbook_BeforeSave() in 'ThisWorkbook' module.

    b. In the Excel Files 'Custom Property' item 'Reference' in string 'hh:mm:ss' format. (This is the Master value).

    c. In the Excel File 'Built In Property' item 'Total Editing Time' (in long integer MINUTES).
    In Excel 2003, this item DOES NOT SEEM TO BE updated by Excel.
    To acces 'Total Editing Time' in Excel 2003: File > Properties > Statistics

    Please let me know if there are any problems, especially in versions of Excel other than 2003.

    Lewis

    Code follows (ThisWorkbook module)):
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 01-05-2014, 06:19 PM
  2. Excel 2007 : editing a document
    By JayHargrave in forum Excel General
    Replies: 1
    Last Post: 03-22-2010, 08:34 PM
  3. [SOLVED] Document editing
    By marlin in forum Excel General
    Replies: 5
    Last Post: 04-10-2006, 06:15 PM
  4. Replies: 2
    Last Post: 05-14-2005, 12:06 PM
  5. How can I display a value from a spreadsheet cell in a column in a document library?
    By Roger Eriksen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-13-2005, 01:06 PM

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