serhio
serhio

Reputation: 28586

Insert date difference field in MS-Word

I need to insert in CV created in MS Word document the age of the people.

I know the birth date of the person.

Is there a way to insert a field that will automatically calculates the age?

Upvotes: 1

Views: 562

Answers (1)

Fionnuala
Fionnuala

Reputation: 91306

This is not a 100%, but it may do:

word date

{={ DATE \@ "YY" } - { MERGEFIELD DOB \@ "YY" } + 
    {IF { DATE \@ "MM" } - { MERGEFIELD DOB \@ "MM" } 1 0 }}

Use ctrl+F9 to add the {}, F9 to recalculate and alt+F9 to display the result.

Upvotes: 1

Related Questions