Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
 
Posts: n/a
Default Subtract a week using field code?

Hi,
Is there a way that I can subtract a week from the current date
automatically using field code within an existing template or document?
I have a lab report due a week after the lab, every week- just trying
to minimize errors in my reports. What would this code look like?
Thanks!

  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Doug Robbins - Word MVP
 
Posts: n/a
Default Subtract a week using field code?

To see how to do this and just about everything else you might want to do
with dates in Word, check out in Macropod's Date Calc 'tutorial', at:

http://www.wopr.com/cgi-bin/w3t/show...?Number=249902


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

wrote in message
oups.com...
Hi,
Is there a way that I can subtract a week from the current date
automatically using field code within an existing template or document?
I have a lab report due a week after the lab, every week- just trying
to minimize errors in my reports. What would this code look like?
Thanks!



  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Charles Kenyon
 
Posts: n/a
Default Subtract a week using field code?

This is more complex than you might imagine, but it can be done. See
http://addbalance.com/word/datefields2.htm for information on the different
kinds of ways to make a date calculation work. It includes links to pages
with fields and an explanation of different macros that can be used instead
of fields.

--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

wrote in message
oups.com...
Hi,
Is there a way that I can subtract a week from the current date
automatically using field code within an existing template or document?
I have a lab report due a week after the lab, every week- just trying
to minimize errors in my reports. What would this code look like?
Thanks!



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2003 Field code within a field code Cheryl Mailmerge 2 November 25th 05 08:31 AM
How do I replace one character with another in the field code resu AWordInNeed Mailmerge 1 August 30th 05 08:14 PM
How do I replace 1 character with another in field code results? AWordInNeed Microsoft Word Help 4 August 29th 05 11:19 PM
Field code change Rory Brady Microsoft Word Help 1 March 17th 05 10:21 PM
How do I use the PRINT field code to ... Dave Microsoft Word Help 3 December 13th 04 03:06 PM


All times are GMT +1. The time now is 07:36 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"