Link to home
Create AccountLog in
Avatar of K Tin
K TinFlag for United States of America

asked on

Calculate age in Microsoft Word

I am wanting to calculate age on a form document in word. I just need a easy to follow macro (I'm a newb to this).
Avatar of Shums Faruk
Shums Faruk
Flag of India image

I am not sure which form field you have, you'll need to do the work yourself. To help you get started, check below link:
How Can I Put Calculated Dates in Word?

Take a look and let me know what additional questions you have.
ASKER CERTIFIED SOLUTION
Avatar of Shums Faruk
Shums Faruk
Flag of India image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of K Tin

ASKER

Sorry I'm dense... so do I click Ctrl-F9 and name, within the brackets, {CalcAge} or {MACROBUTTON CalcAge}
If you already have Data Field as above then you just run Macro CalcAge
Avatar of K Tin

ASKER

When I try to run the Macro I get an error "Run time error 5941 the requested member of the collection does not exist"
Please upload your sample document.
Avatar of K Tin

ASKER

Uploaded
test.docm
There is problem in your template. Let me make new one. Give me some time
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Kindly note you need to double click on DOB Field and change the date in Default Date then run macro