Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Removing Index Marks

273 views
Skip to first unread message

Jonathan Fellows

unread,
Feb 12, 2002, 12:32:06 PM2/12/02
to
I love the index feature in Word! I created a concordance file, automarked a
file with it, and then realized I needed to organize the index a little
differently. However, when I changed the concordance file and automarked the
doc again, the updated index included the old index marks because
automarking didn't remove them.

QUESTION: Is there a way to remove all index marks from a document? I've
done a find/replace search for "XE" which will locate all index marks, but
any index categories that have more than one word are not completely deleted
when the invisible "XE" mark symbol is deleted.

Thanks for any help!
-Jonathan

John McGhie [MVP]

unread,
Feb 14, 2002, 12:11:46 PM2/14/02
to Jonathan Fellows
Hi Jonathan:

Now you know why we strongly recommend against using concordance file
indexing :-) It always makes more work than manually tagging :-)

Try the following macro:

Sub RemoveIndexFields()

For each aField in activedocument.fields
If afield.Type = wdFieldIndexEntry then aField.delete
Next aField
End sub

Note: There's a bug in Word 2000 that means this will not remove index
entries from Footnotes or endnotes: I have not investigated to see whether
this is also true on the Mac, but I suspect it is.

Hope this helps


On 13/2/02 4:32 AM, in article B88EBBC6.464D%jfel...@umich.edu, "Jonathan
Fellows" <jfel...@umich.edu> wrote:

--
Please post replies to the newsgroup to maintain the thread.

John McGhie, Microsoft MVP: Word for Macintosh and Word for Windows
Consultant Technical Writer
<jo...@mcghie-information.com.au>
+61 4 1209 1410; Sydney, Australia: GMT + 10 hrs

0 new messages