Date change..

J

Jorge

Is there a way to have the date automatically appear in a document
displaying the day before?
We run a day behind and I can do this in Wordpro...

Thank-you...
 
D

Doug Robbins - Word MVP

Hi Jorge,

Insert a bookmark named Date in the template where you want the date to
appear and create an autonew macro in the template with the command

ActiveDocument.Bookmarks("Date").Range.InsertBefore Format(DateAdd("d", - 1,
Date), "MMMM dd, yyyy")

--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 
J

Jorge

macropod _ I appreciate it...
however I'm new and I dunno exactly what I should be placing into the
field..

I toggle to field code and see the entry but - I wanna just go to previous
day..

Any clues?
 

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