Calculating age in a Word template/Form from the DOB field

J

John

I have a word template/form in which I'd like for a field to be able to
calcualte and post a person's age based on another field that contains the
person's DOB.
Can anyone help me wit this?
Thanks,
 
J

John

Since posting this I've found a number of possible solutions to my problem
but none seem to work for me. I simply want to insert in one form field
(named "DOB") an individuals DOB in the mm dd yy format and have the persons
age in accurately rounded whole years automatically post in the form field
I've called "Age". This will most likely be tied somehow to the date the
file is actually being worked on and will need to automatically up date "Age"
whenever the file is opened
Thanks
 
M

macropod

Hi John,

To see how to do this and just about everything else you might want to do with dates in Word, check out my Word Date Calculation
Tutorial, at:
http://lounge.windowssecrets.com/index.php?showtopic=249902
or
http://www.gmayor.com/downloads.htm#Third_party
In particular, look at second field under the item titled 'Interactively Calculate A Person’s Age'. That field calculates the age to
the nearest year, month and day. For what you've described, you can change the output expression to:
"The person's age is {={Years}+{={Months}>5}} years}."
Do read the document's introductory material.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top