Windows 7 - Field Code Date + 30days?

Asked By JohnKeit on 19-Feb-08 05:31 PM
Is there a way to modify the field code that inserts current date to show

If this requires VBA, then I know VBA for Excel, Access, but never have done
any VBA code with word,  do I set up a public function?  How do I call this
from the text of the document?

--
Regards,
John




macropod replied on 19-Feb-08 06:56 PM
Hi John,

You can't change the code that Word uses to insert the current date, but you can get Word to calculate a date that is 30 days from
today. To see how to do this and just about everything else you might want to do with dates in Word using field coding, check out my
Date Calc 'tutorial', at:
http://www.wopr.com/cgi-bin/w3t/showthreaded.pl?Number=249902
or
http://www.gmayor.com/downloads.htm#Third_party

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------
Jay Freedman replied on 19-Feb-08 07:41 PM
On Tue, 19 Feb 2008 14:31:00 -0800, John Keith


See http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=wrd&Number=249902.

--
Regards,
Jay Freedman
Microsoft Word MVP        FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.