Reply
 
Thread Tools Display Modes
  #1   Report Post  
cottage6
 
Posts: n/a
Default Insert Date Field + 7

Is there a way to insert the date field and then have it increment by 7 days
so it provides next week's date? I tried a few things but none of them
worked. I know I could get this from Excel as a merge field, but if there's
a way in Word I'd really like to know. Thanks!
  #2   Report Post  
Graham Mayor
 
Posts: n/a
Default

This can be done with fields, but it is complicated - see
http://www.wopr.com/cgi-bin/w3t/show...?Number=249902
A macro might be simpler?

Sub DatePlus7()
Selection.InsertBefore Format((Date + 7), "d MMMM yyyy")
End Sub

(change the mask to suit local preferences)


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



cottage6 wrote:
Is there a way to insert the date field and then have it increment by
7 days so it provides next week's date? I tried a few things but
none of them worked. I know I could get this from Excel as a merge
field, but if there's a way in Word I'd really like to know. Thanks!



  #3   Report Post  
Charles Kenyon
 
Posts: n/a
Default

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://www.mvps.org/word 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.

"cottage6" wrote in message
...
Is there a way to insert the date field and then have it increment by 7
days
so it provides next week's date? I tried a few things but none of them
worked. I know I could get this from Excel as a merge field, but if
there's
a way in Word I'd really like to know. Thanks!



  #4   Report Post  
cottage6
 
Posts: n/a
Default

Thank you both for your answers; it is definitely more complex than I
thought. The VB code worked nicely!

"Charles Kenyon" wrote:

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://www.mvps.org/word 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.

"cottage6" wrote in message
...
Is there a way to insert the date field and then have it increment by 7
days
so it provides next week's date? I tried a few things but none of them
worked. I know I could get this from Excel as a merge field, but if
there's
a way in Word I'd really like to know. 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
Printing "Insert Date" Field - Wit's End Bean_Online Microsoft Word Help 1 January 28th 05 08:33 PM
Table date field BIGEYE New Users 1 January 28th 05 03:43 AM
Table date field BIGEYE Tables 1 January 28th 05 03:43 AM
inserting a date field for a future date rm Microsoft Word Help 2 January 10th 05 07:18 PM
Date issue merging from Excel field in Date format to Word Barb Reinhardt Mailmerge 1 December 17th 04 07:34 AM


All times are GMT +1. The time now is 01:50 AM.

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"