
Signature
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
That is above my head, but aren't you taking a risk that that user who has
neglected his/her document for an hour may or may not want to save changes
made. AFAIK there is no way a macro can make that decision.

Signature
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
> Hi Tony,
>
> I don't know your level of programming skills,
>
> but one could use a windowselectionchange-event
> to set the expiration time in an ontime macro to one hour.
Tony Jollans - 11 Oct 2005 00:35 GMT
I second that and would also add that it is possible to type away quite
happily without firing the WIndowSelectionChange event (or any other event)
and would recommend prompting the user and waiting a while longer before
automatically closing (and perhaps saving a copy if there are unsaved
changes). As Helmut says, this is advanced programming.
--
Enjoy,
Tony
> That is above my head, but aren't you taking a risk that that user who has
> neglected his/her document for an hour may or may not want to save changes
[quoted text clipped - 12 lines]
> > but one could use a windowselectionchange-event
> > to set the expiration time in an ontime macro to one hour.