Solved

How do I enter this year - 2 and this year -1 into my word document as a word field?

Posted on 2012-03-19
3
188 Views
Last Modified: 2012-03-20
I need to write 2010 - 2011 based on the current year being 2012. How do I do this in Word 2003?

Please describe the merge fields and the actual key presses necessary to achieve the proper format. Telling me the merge code won't indicate to me how to generate it the right way.
0
Comment
Question by:dovidf
[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
3 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 37741361
You need to use two fields, a formula field and a date field. The data field must be formatted with a data switch to produce the year only, andthe formula field is just that result minus 2.

Enter the formula field, using ctrl + F9 to produce the curly brackets, so that it looks like this:

{= - 2}.

the put the cursor after the equals sign, press Ctrl+F9 again to produce a second set of curly brackets, and enter the Date field name and the switch, so that the whole thing looks like this:

{ = { DATE \@ "YYYY" } - 2 }

You can toggle to the result view with Alt +F9. You may have to force the field to update by selecting it and pressing F9.
0
 
LVL 76

Expert Comment

by:GrahamSkan
ID: 37741389
Oops. In the second sentence, I twice used the word 'data', when 'date' would have been better.
0
 
LVL 4

Author Closing Comment

by:dovidf
ID: 37743619
It took a little fiddling but it did the trick.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

It is often necessary in this forum and others to illustrate Word fields as text with the field delimiters replaced with the curly brackets that the delimiters resemble when field codes are being displayed on the document. This means that the text c…
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…
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
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.

710 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