Don't want the time to automatically update

M

Mel

I put the Time Icon on the tool bar. It inserts the time where I want but
if I close the document and then open it later it changes to the new time
that I reopen the document. Is there a way to stop the time from updating
in the document?
 
G

Graham Mayor

Set your toolbar command to insert a CREATEDATE field with a time switch
eg { CREATEDATE \@ "hh:mm" } - see help under 'general switches' for the
different time formats.
or set it to call a macro

Sub TimeNow()
Selection.InsertAfter Format((Time), "hh:mm")
Selection.EndKey Unit:=wdLine
'Selection.TypeText Text:=vbTab
End Sub

http://www.gmayor.dsl.pipex.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail (e-mail address removed)
Web site www.gmayor.dsl.pipex.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 

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