Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Mrs Dumm Mrs Dumm is offline
external usenet poster
 
Posts: 5
Default Calculate date with form field

All,
I want to calculate a Return Date (date to return an evaluation by) from the
Evaluation Date (txtEvalDate).

"txtEvalDate" is a FormField set to Date format.

So, if "txtEvalDate" = April 2, 2008, I want "Return Date" to equal April 2,
2008 - 14 days which is March 19, 2008.

This is probably not as difficult as my brain seems to be making it. Help,
please!

Thanks,
Alicia (and yes, my last name really is Dumm... I married it... which means
I found a man "Dumm" enough to marry me!)
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
macropod macropod is offline
external usenet poster
 
Posts: 1,002
Default Calculate date with form field

Hi Alicia,

To see how to do this and just about everything else you might want to do with dates in Word without the need for vba, check out my
Date Calc 'tutorial', at:
http://www.wopr.com/cgi-bin/w3t/show...?Number=249902
or
http://www.gmayor.com/downloads.htm#Third_party
In particular, look at the item titled 'Date and Time Calculations In A Word Form'. Since you want a fixed 14-day offset and your
formfield is named 'txtEvalDate', simply copy the field there, change 'FmDate' to 'txtEvalDate' and change the line '{SET Delay
{=FmDelay}}' to '{SET Delay 14}'.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

"Mrs Dumm" wrote in message ...
All,
I want to calculate a Return Date (date to return an evaluation by) from the
Evaluation Date (txtEvalDate).

"txtEvalDate" is a FormField set to Date format.

So, if "txtEvalDate" = April 2, 2008, I want "Return Date" to equal April 2,
2008 - 14 days which is March 19, 2008.

This is probably not as difficult as my brain seems to be making it. Help,
please!

Thanks,
Alicia (and yes, my last name really is Dumm... I married it... which means
I found a man "Dumm" enough to marry me!)


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Mrs Dumm Mrs Dumm is offline
external usenet poster
 
Posts: 5
Default Calculate date with form field

Macropod,
I just discovered your site by accident on my own and I am overwhelmed with
the amount of awesome information you have! The ability to do this without
VBA and macros is extremely helpful in the network environment I'm in (darn
macro security... which we wouldn't need if Word wasn't so susceptible to
viruses!)

Thank you for your response and the links. I'll post back if I have any
further questions!

Alicia

"macropod" wrote:

Hi Alicia,

To see how to do this and just about everything else you might want to do with dates in Word without the need for vba, check out my
Date Calc 'tutorial', at:
http://www.wopr.com/cgi-bin/w3t/show...?Number=249902
or
http://www.gmayor.com/downloads.htm#Third_party
In particular, look at the item titled 'Date and Time Calculations In A Word Form'. Since you want a fixed 14-day offset and your
formfield is named 'txtEvalDate', simply copy the field there, change 'FmDate' to 'txtEvalDate' and change the line '{SET Delay
{=FmDelay}}' to '{SET Delay 14}'.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

"Mrs Dumm" wrote in message ...
All,
I want to calculate a Return Date (date to return an evaluation by) from the
Evaluation Date (txtEvalDate).

"txtEvalDate" is a FormField set to Date format.

So, if "txtEvalDate" = April 2, 2008, I want "Return Date" to equal April 2,
2008 - 14 days which is March 19, 2008.

This is probably not as difficult as my brain seems to be making it. Help,
please!

Thanks,
Alicia (and yes, my last name really is Dumm... I married it... which means
I found a man "Dumm" enough to marry me!)



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
calculate in field with date Chey Microsoft Word Help 6 January 11th 08 07:35 AM
Use current date in the default date form field option [email protected] Microsoft Word Help 4 April 8th 07 08:27 AM
Can I calculate a merged date field based on today plus # of days Lorraine Tables 5 March 30th 06 09:52 PM
form field auto calculate JSwa Microsoft Word Help 2 February 13th 06 05:43 PM
How do I calculate a date from a merge field? Bianca Sergueeva Mailmerge 5 June 28th 05 03:46 PM


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