Solved

Microsoft Word 2007 - Field

Posted on 2011-02-16
2
276 Views
Last Modified: 2012-05-11
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
Comment
Question by:katredrum
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 50

Accepted Solution

by:
Ingeborg Hawighorst (Microsoft MVP / EE MVE) earned 500 total points
ID: 34912527
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
 
LVL 1

Author Closing Comment

by:katredrum
ID: 34912552
Wow, you're the best! I wouldn't have even got close with this one!
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question