INCLUDETEXT XML

T

Tim

Hi All,

I am using the following field to return data from an XML file. I want to
replace the resulting yyyy text with the current year

INCLUDETEXT "C:\\Program Files\\.........\\KINTOFF.INI.XML" \x
KIS/MemberFirms/Copyright1 \c XML \* MERGEFORMAT

This returns:

© yyyy Acme Enterprises. All rights reserved.

I want o replace the yyyy with the current year, ideally using another
(nested) field.

Any thoughts?

Many thanks

Tim
 
J

Jean-Guy Marcil

Tim was telling us:
Tim nous racontait que :
Hi All,

I am using the following field to return data from an XML file. I
want to replace the resulting yyyy text with the current year

INCLUDETEXT "C:\\Program Files\\.........\\KINTOFF.INI.XML" \x
KIS/MemberFirms/Copyright1 \c XML \* MERGEFORMAT

This returns:

© yyyy Acme Enterprises. All rights reserved.

I want o replace the yyyy with the current year, ideally using another
(nested) field.

Any thoughts?

Inserted nested fields with VBA can be a bit tricky.

For information and examples see:
http://word.mvps.org/faqs/macrosvba/NestedFieldsWithVBA.htm


--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
[email protected]
Word MVP site: http://www.word.mvps.org
 
Top