Reply
 
Thread Tools Display Modes
  #1   Report Post  
krbry
 
Posts: n/a
Default How do I enter a future date with a switch? I always need to hav.

I am trying to automate an entry in a template I have created, but Word
97-2003 only let you create a switch for entering todays date. You can
update this field, but I need to be able to print a document today with
tomorrows date in this column. Does anyone have any suggestions? I know
that in excel you can create a formula to enter the date + any number you
want . Is there any way to do this in Word?
  #2   Report Post  
garfield-n-odie
 
Posts: n/a
Default

It's possible, but a bit complicated. See
http://www.wopr.com/cgi-bin/w3t/show...&Number=249902 .

krbry wrote:

I am trying to automate an entry in a template I have created, but Word
97-2003 only let you create a switch for entering todays date. You can
update this field, but I need to be able to print a document today with
tomorrows date in this column. Does anyone have any suggestions? I know
that in excel you can create a formula to enter the date + any number you
want . Is there any way to do this in Word?


  #3   Report Post  
Doug Robbins
 
Posts: n/a
Default

Or have an autonew macro in the template that uses the code

ActiveDocument.Bookmarks("Date").Range.InsertBefor e Format(DateAdd("d", 1,
Date), "MMMM d, yyyy")

and put a bookmark in the template named "Date" at the position where you
want the date to appear.
--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
"krbry" wrote in message
...
I am trying to automate an entry in a template I have created, but Word
97-2003 only let you create a switch for entering todays date. You can
update this field, but I need to be able to print a document today with
tomorrows date in this column. Does anyone have any suggestions? I know
that in excel you can create a formula to enter the date + any number you
want . Is there any way to do this in Word?



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
How do I enter a future date with a switch? I always need to hav. krbry Microsoft Word Help 1 February 17th 05 07:57 PM
How to insert future date based on current date plus 14 days John Bakker Microsoft Word Help 1 January 31st 05 10:08 PM
inserting a date field for a future date rm Microsoft Word Help 2 January 10th 05 08:18 PM
How do I have word enter a future date in a letter Cathy in Florida New Users 5 January 6th 05 03:59 AM
insert a future date Tim Wallin Microsoft Word Help 10 December 5th 04 01:25 AM


All times are GMT +1. The time now is 06:02 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"