I have a Word document in which I use Ask and Ref field codes to input the
current year. The field is called "Year". In a few sentences, I'd like to
automatically increment the current year upward by one. So I have tried a
field code of Ref Year +1, but that just returns the current year. Any ideas?
Thanks.
Peter Jamieson - 10 Mar 2005 10:05 GMT
Try
{ = { REF Year } + 1 }
(all the {} have to be the special field code braces that you can insert
using ctrl-F9)
Peter Jamieson
>I have a Word document in which I use Ask and Ref field codes to input the
> current year. The field is called "Year". In a few sentences, I'd like
[quoted text clipped - 4 lines]
>
> Thanks.
Charles Kenyon - 12 Mar 2005 15:14 GMT
{ = {CreateDate \@ "dddd" } + 1 }

Signature
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
>I have a Word document in which I use Ask and Ref field codes to input the
> current year. The field is called "Year". In a few sentences, I'd like
[quoted text clipped - 4 lines]
>
> Thanks.
Graham Mayor - 12 Mar 2005 16:35 GMT
?
{ = {CreateDate \@ "yyyy" } + 1 }
might be nearer what you had in mind.

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> { = {CreateDate \@ "dddd" } + 1 }
>
[quoted text clipped - 6 lines]
>>
>> Thanks.
Charles Kenyon - 12 Mar 2005 17:00 GMT
oops
:)
> ?
[quoted text clipped - 12 lines]
>>>
>>> Thanks.