Inserting last date saved from one document to another

M

Michel

I'm using a Word document as a sort of Work Planner. In it, I list all of my
Word documents that I'm presently working on, each being used to follow a
different project that I'm supervising.

In one column I have the name with a hyper link to go and open up that
specific document. In another column, I have a list of planned follow-up
dates etc...

Is there any way to take the -Last date Saved- from each individual word
document (project), and have them all in one column, in such a way that every
time I modify one of my documents, it will also be updated in my main word
Planner. That way I could see if any of my projects have not been updated on
time or reviewed recently?
 
M

macropod

Hi Michel,

If you:
.. insert a SAVEDATE field into each document, then
.. bookmark each document's SAVEDATE field,
you could use an INCLUDETEXT field to pull that date into your index document. See Word's help file for the INCLUDETEXT field
details.

To simplify the bookmarking, you could create the bookmark via a SET field, coded as:
{SET DocDate {SAVEDATE}}
and put this in the document's header/footer (to keep it out of harm's way). Once updated, the field disappears. If you copy this
field to all the documents, the INCLUDETEXT field in your index document can refer to the same bookmark name (DocDate) for all it's
reference documents.
 
G

Graham Mayor

Hmmm. I had been pondering on a solution to this question myself and your
suggestion has the basis of a plan. Unfortunately, as it stands, the
savedate field does not appear to be updated when the document is saved.
This appears to be true even if the field is stored in the document body
rather than the header. The field instead appears to store the previously
saved date, so when you insert the field, then update it and save the
document, the savedate is actually still showing the previously saved date.

Opening the document using an IncludeText field does not update the field to
reflect the date of that last save -and of course with the field hidden, the
user has no way of knowing that the field is not updated, nor that the log
is therefore incorrect. Similarly the IncludeText fields in the log do not
automatically update either, so a forced update would be required to reflect
the current data. I am not sure therefore that this can be achieved with
fields alone?

I suspect that it will require a macro to modify the save behaviour to save,
update the field then save again, and an autoopen macro associated with the
log document to force an update to the includetext fields for this to be
workable.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
M

macropod

Hi Graham,

Yes, I think you're right - the SAVEDATE value in the field will never be later than the date on which the field was updated BEFORE
the last save - so it will always be one iteration behind. Intercepting the File|Save and Save As routines would allow one to do as
you suggest, with the difference usually being less than a second.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top