T
toth.usenet
hi,
i've got a word document which has been generated automatically and
the references/links/sources for table of contents and index have been
generated using field information. so a header would look like this
1.1. Header\Title\Chapter { XE "Header\Title\Chapter" }
i have a vba script which will modify the header text just as desired
(e.g. to Chapter). however, i would also need to modify the content
of the field to also be only { XE "Chapter" } for it to show in the
table of contents and in the index. how do i go about changing the
text inside the fields?
one possibility is to modify the string inside the field, the other is
to copy the header text and paste it into the field. unfortunately i
don't have any experience with fields at all so i couldn't tell which
one is easier, and being a newbee to vba in general i wouldn't know
how to implement either or them.
any help is appreciated.
cheers,
thomas
i've got a word document which has been generated automatically and
the references/links/sources for table of contents and index have been
generated using field information. so a header would look like this
1.1. Header\Title\Chapter { XE "Header\Title\Chapter" }
i have a vba script which will modify the header text just as desired
(e.g. to Chapter). however, i would also need to modify the content
of the field to also be only { XE "Chapter" } for it to show in the
table of contents and in the index. how do i go about changing the
text inside the fields?
one possibility is to modify the string inside the field, the other is
to copy the header text and paste it into the field. unfortunately i
don't have any experience with fields at all so i couldn't tell which
one is easier, and being a newbee to vba in general i wouldn't know
how to implement either or them.
any help is appreciated.
cheers,
thomas