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
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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