Field Codes

R

Richard Lalande

I am working in a WORD 2002 document to where I have a field that populates
from an Access file. The mergefield "EXPIRATION" is automatically populated
when I run the word document to which I want WORD to automatically add 10
years (date to destroy confidential documents).

Example:

I run the download letter from access with dumps the information in WORD
2002 pre-drafted letter but want WORD to automatically add 10 years to that
expiration field.

Expiration Date of September 2017.

WORD automatically add 10 Years

End Result: Destruction Date of September 2027
 
M

macropod

Hi Richard,

Use two fields, the:
.. first coded as {MERGEFIELD EXPIRATION \@ MMMM}
.. second coded as {={MERGEFIELD EXPIRATION \@ YYYY}+10}
where the field braces (ie '{ }') are created in pairs via Ctrl-F9.

Cheers
 

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