Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

How can I get a Word doc mergefield to display the date + 10

Jan 24, 2010 11:40PM PST

I've created a Word doc (can't be docx) that will be printed from a FoxPro database program and has several merge fields in the Word doc that will pull certain info from that program. Does anyone know how I can create a merge field that will display the date 10 days from today? I've tried using a macro I found online, but it doesn't work when I print the document from the database program.

Thanks!

Discussion is locked

- Collapse -
In such cases ...
Jan 25, 2010 3:19AM PST

if I can't do it in Word, I do it in the source file. Say, in Excel, if the date is in column K, I add a column Q with the formula =Kx+10 and print the value from that column.

Is that an option for you?

Kees

- Collapse -
-
Jan 25, 2010 3:29AM PST

I need the file to be a Word doc, so unfortunately Excel won't do. Thanks, though.