word 2010 auto date field

M

mlhill

have tried making this happen for days, so please help:

what i want is to create a field in MS Word 2010 that will automaticall
populate with the current year minus one . . so it would show 2011 thi
year, 2012 when it's 2013, etc. . .

my best current guess is some kind of function like ={DATE \@ "yyyy"}-
but just can't get it to happen . .

help please
 
S

Stefan Blom

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!
 
V

Venky62

Try:
{={DATE \@"yyyy"}-1}

mlhill;493068 said:
have tried making this happen for days, so please help:

what i want is to create a field in MS Word 2010 that will automaticall
populate with the current year minus one . . so it would show 2011 thi
year, 2012 when it's 2013, etc. . .

my best current guess is some kind of function like ={DATE \@ "yyyy"}-
but just can't get it to happen . .

help please
 
M

mlhill

you're *awesome* . . worked perfectly . . i had no idea to do fiel
delimiters inside other delimiters . . i was just putting in th
brackets manually .

thank you so much!

'Stefan Blom[_3_ said:
;493070']You're very close. This should work:

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

Note that you have to insert each pair of field delimiter by pressin
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 al
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 wil
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!
 
S

Stefan Blom

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_ said:
;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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top