Solved

Microsoft Word 2007 - Field

Posted on 2011-02-16
2
279 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
Suggested Courses
Course of the Month10 days, 11 hours left to enroll

632 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