A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Tables
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Future Date?



 
 
Thread Tools Display Modes
  #1  
Old August 12th, 2004, 11:15 AM
Quack Boy
external usenet poster
 
Posts: n/a
Default Future Date?

Is it possible to print a future date function in a form? Say for
example I wanted to print the date in thirty days time

DATE:{date \@ "MMMM d+30 days, yyyy"}

where d+30 days is the current day + 30 days.

Thank you.


  #2  
Old August 12th, 2004, 12:50 PM
Jezebel
external usenet poster
 
Posts: n/a
Default Future Date?

You can't do it directly. Sadly -- and for no obvious reason -- Word fields
do not support arithmetic on dates. It is however very easy to do with
macros. You can use the DateAdd() function, or if you are just dealing with
days you can add them directly: FutureDate = Now + 30.




"Quack Boy" wrote in message
...
Is it possible to print a future date function in a form? Say for
example I wanted to print the date in thirty days time

DATE:{date \@ "MMMM d+30 days, yyyy"}

where d+30 days is the current day + 30 days.

Thank you.




  #3  
Old August 12th, 2004, 01:13 PM
Graham Mayor
external usenet poster
 
Posts: n/a
Default Future Date?

You can do this, but it is complicated to do with fields.
See http://www.wopr.com/cgi-bin/w3t/show...&Number=249902

--

Graham Mayor - Word MVP

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




Quack Boy wrote:
Is it possible to print a future date function in a form? Say for
example I wanted to print the date in thirty days time

DATE:{date \@ "MMMM d+30 days, yyyy"}

where d+30 days is the current day + 30 days.

Thank you.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Date Function with literal date does not resolve True Cam Worksheet Functions 6 April 30th, 2004 04:02 PM
Calculate a future date Vanessa Mayfield Mailmerge 2 April 30th, 2004 03:46 AM
Excel indicator for when a future date is reached! glenrayel Worksheet Functions 0 February 11th, 2004 11:55 AM
Does date fall between two ranges? MR Worksheet Functions 4 January 14th, 2004 04:08 PM


All times are GMT +1. The time now is 04:03 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.