View Single Post
  #5   Report Post  
Greg Maxey
 
Posts: n/a
Default

Try entering the field directly without messing with InsertField.

See: http://gregmaxey.mvps.org/Word_Fields.htm
specifically paragraph 3.

--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.

Neil Howie wrote:
Thanks, but despite my best efforts and a fair bit of research, I
cannot make this work. I have tried putting in the square brackets
where the insert field wizard suggests and quotes round the YYYY. In
the few tries concentrating on the bit after the hyphen, where I've
not had a syntax error, I still can't get Word 2000 to add 1.


"Greg Maxey" wrote in message
...
Neil,

Something like:
{ Quote { Date \@ YYYY } – { =sum({ Date \@ YYYY },1) }}
should last you a lifetime.

--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.

Neil Howie wrote:
I have a booklet I print once a year. It currently has the year
range "2004-2005" on the front page. Rather than edit this every
year, I would like it automatically updated. I can insert a date
function with format "YYYY" for the current year, but how do I
update the following year?