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
189 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
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 …

622 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