Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
190 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

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…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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:
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
Suggested Courses

688 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