View Single Post
  #2  
Old April 30th, 2004, 01:16 PM
Doug Robbins - Word MVP
external usenet poster
 
Posts: n/a
Default Indexing - Global refresh/deletion of index marks

Use the following code in a macro

Dim AIM As Field
For Each AIM In ActiveDocument.Fields
If AIM.Type = wdFieldIndexEntry Then
AIM.Delete
End If
Next


--
Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
"Ray Cleere" wrote in message
...
I'm using MSWord 2001.

I'm trying delete existing index marks in a particular
document, of which there are hundreds.

There does not appear to be a facility in the insert/index
and tables dialog to facilitate this.

Updating index marks via a concordance table (automarking)
is appending new index marks to existing index marks at
the location - it does not do a total refresh.

Using edit/find&replace also does not appear to facilitate
location of index marks. I think I have tried all options
at this dialog, and in combination with changes made at
the tools/options/view/edit or show levels.

The index marks themselves are non-printing characters
obviously, and using the show/hide button displays the
index marks (which are not hidden at the font level), but
they do not appear in the special [system ^ characters]
drop-down list in the edit/find dialog.

Anyone any ideas on how I can go about doing a total
refresh of my index marks directly (using a table), or a
total delete of existing marks, maybe via some new
functionality in later versions of word or by pointing out
something I haven't yet tried with my existing ver?

Thanks
Ray.