none
Extracting time information from word doc RRS feed

  • Question

  • I'm looking for a way to get info about the time that a word or a line was written. (I'm using office 2010)

    Can someone help me???

    Saturday, November 19, 2011 11:32 PM

All replies

  • Word keeps track of when a document as a whole was last modified, but not of when individual words or lines were modified. This information simply isn't available.
    Regards, Hans Vogelaar
    Saturday, November 19, 2011 11:37 PM
  • thanks for the quick response,

    is there a way maybe to check it on real time? like maybe read the buffer on the same time?

    Saturday, November 19, 2011 11:41 PM
  • It might be possible, but I fear that it would be very complicated and have a severe impact on performance, so I don't think it'd be realistic. But perhaps someone else will have a bright suggestion.


    Regards, Hans Vogelaar
    Saturday, November 19, 2011 11:48 PM
  • If all the editing is done with Track Changes turned on, each change is tagged with the date and time it was done. In VBA, the timestamp can be retrieved as myDoc.Revisions(n).Date, which is a Date object.

    For sample VBA code that manipulates Track Changes date information, see http://groups.google.com/group/microsoft.public.word.docmanagement/msg/2188cc26e005fa03?hl=en.


    Jay Freedman
    MS Word MVP  FAQ: http://word.mvps.org
    • Proposed as answer by Hans Vogelaar MVPMVP Sunday, November 20, 2011 4:14 PM
    • Marked as answer by Ohad felsen Sunday, November 20, 2011 8:35 PM
    • Unmarked as answer by Ohad felsen Tuesday, November 22, 2011 5:39 PM
    • Unproposed as answer by Ohad felsen Tuesday, November 22, 2011 5:54 PM
    Sunday, November 20, 2011 4:10 PM
  • I tried to check this solution but in case that i am  starting a new document everything is save as one change only,

    so i don't really get a different time for each word or even for each line.

    someone with another way maybe?

    Tuesday, November 22, 2011 5:43 PM
  • To make Jay's suggestion, of using Tracked Changes, work on a new document the first thing your program has to do is to simply make the new document an existing document by saving it with a valid name.

    Then turn on Tracked Changes and everything from that point forward should be time stamped.


    Kind Regards, Rich ... http://greatcirclelearning.com
    Tuesday, November 22, 2011 6:35 PM
  • Is there a way to make the time stamp be more time sensitive? (Because i can only get to 1 minute accuracy)

    Tuesday, November 22, 2011 7:12 PM