![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
have tried making this happen for days, so please help:
what i want is to create a field in MS Word 2010 that will automatically populate with the current year minus one . . so it would show 2011 this year, 2012 when it's 2013, etc. . . my best current guess is some kind of function like ={DATE \@ "yyyy"}-1 but just can't get it to happen . . help please! |
| Ads | |
|
#2
|
|||
|
|||
|
You're very close. This should work:
{ = { DATE \@ "YYYY" } - 1 } Note that you have to insert each pair of field delimiter by pressing Ctrl+F9. Also, be sure to include spaces as suggested by the example above. To update fields in the selection, press F9. To show/hide field all codes, press Alt+F9. -- Stefan Blom Microsoft Word MVP "mlhill" wrote in message ... have tried making this happen for days, so please help: what i want is to create a field in MS Word 2010 that will automatically populate with the current year minus one . . so it would show 2011 this year, 2012 when it's 2013, etc. . . my best current guess is some kind of function like ={DATE \@ "yyyy"}-1 but just can't get it to happen . . help please! -- mlhill |
|
#3
|
|||
|
|||
|
Try:
{={DATE \@"yyyy"}-1} Quote:
|
|
#4
|
|||
|
|||
|
you're *awesome* . . worked perfectly . . i had no idea to do field delimiters inside other delimiters . . i was just putting in the brackets manually .
thank you so much! Quote:
|
|
#5
|
|||
|
|||
|
I'm glad I could help!
-- Stefan Blom Microsoft Word MVP "mlhill" wrote in message ... you're *awesome* . . worked perfectly . . i had no idea to do field delimiters inside other delimiters . . i was just putting in the brackets manually . thank you so much! 'Stefan Blom[_3_ Wrote: ;493070']You're very close. This should work: { = { DATE \@ "YYYY" } - 1 } Note that you have to insert each pair of field delimiter by pressing Ctrl+F9. Also, be sure to include spaces as suggested by the example above. To update fields in the selection, press F9. To show/hide field all codes, press Alt+F9. -- Stefan Blom Microsoft Word MVP "mlhill" wrote in message ... have tried making this happen for days, so please help: what i want is to create a field in MS Word 2010 that will automatically populate with the current year minus one . . so it would show 2011 this year, 2012 when it's 2013, etc. . . my best current guess is some kind of function like ={DATE \@ "yyyy"}-1 but just can't get it to happen . . help please! -- mlhill -- mlhill |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| date field auto fill in | ufbcn94 | Microsoft Word Help | 3 | August 3rd 06 05:13 AM |
| Auto Update Date Field | Phil G. | Microsoft Word Help | 1 | June 8th 06 09:26 AM |
| Trying to create an auto field that gives todays date +28 days? | Ranger Tony | Microsoft Word Help | 11 | June 1st 06 10:39 AM |
| How do you turn off auto update of date field | Gaberielle Gehring | New Users | 1 | April 13th 06 05:22 PM |
| Date field code will not auto update | MOTman | Microsoft Word Help | 1 | June 18th 05 12:11 PM |