Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 291
  • Last Modified:

Microsoft Word 2007 - Field

Hello Experts,

I have a Word 2007 document that has a "field" box that automatically inserts today's date. I wanted to know if there was a way to use the "field" box to add 15 or 30 days to the field automatically. Is there a way to configure this using the "field" option?

Thanks!
0
katredrum
Asked:
katredrum
1 Solution
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

That's not as trivial as it may seem. The date needs to be plucked apart into its components, then days need to be added to the day and it needs to be ensured that it rolls over into the next month and next year, if required.

See attached. The code {SET Delay 15} adds 15 days. Change to 30 if you want 30 days.

cheers, teylyn
DateFieldCalc.doc
0
 
katredrumAuthor Commented:
Wow, you're the best! I wouldn't have even got close with this one!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now