logo
search
Document Editing Problems

Fix Word Index Still Showing Entries After Deleting XE Fields

Tauseeq MagsiTauseeq Magsi Sep 28, 2026 868 views

Question details

The user needs to completely remove index entries from a Word document that continue to appear even after the visible XE (index-entry) fields have been deleted.

How to Fix a Word Index Still Showing Entries After Deleting XE Fields
Product
Word
Device & OS
not provided
Scenario
Updating a document's index after attempting to remove specific index entries manually.
Observed behavior
The updated index still displays the deleted entries because hidden XE fields remain undetected in other document areas like text boxes, footnotes, or endnotes.
Before you start

Make sure to create a backup copy of your document before running any VBA macros or bulk-deleting fields, and ensure that your formatting marks are turned on so you can see hidden text.

Solution 1Recommended

Reveal and Manually Delete Hidden XE Fields

Use the Show/Hide feature to reveal hidden text and locate remaining XE fields scattered in secondary document areas.

Index entries are generated strictly from XE fields. If an entry persists, an XE field containing that item still exists. They often hide in areas outside the main body text, such as text boxes, shapes, footnotes, and endnotes.

1
Turn on hidden formatting marks

Navigate to the Home tab on the ribbon and click the Show/Hide ¶ (paragraph mark) button to reveal hidden text and non-printing characters.

2
Search secondary document areas

Manually inspect footnotes, endnotes, and text boxes for curly bracket codes resembling { XE "YourEntry" }.

3
Delete the remaining fields

Highlight the entire hidden XE field code, including the brackets, and press the Delete key.

4
Update the index

Right-click on your document's index and select Update Field to refresh the list and confirm the entry is gone.

Reveal and Manually Delete Hidden XE Fields
Check for invisible characters: Sometimes the Find tool misses XE fields because they contain extra spaces or invisible formatting characters. Manual inspection with formatting marks turned on is the most reliable method.
Advanced Document Editing

Manage Document Indexes Easily with WPS Office

WPS Writer provides an intuitive interface for managing complex document elements like indexes, fields, and hidden text. It allows you to easily toggle formatting marks to track down stubborn XE fields.

  1. 1. Open your document: Launch WPS Writer and open the document containing the problematic index.
  2. 2. Reveal hidden marks: Go to the Home tab and click the Show/Hide Editing Marks icon to make all hidden XE fields visible.
  3. 3. Remove unwanted fields: Locate the lingering { XE } codes in text boxes or footnotes, select them, and press Delete.
  4. 4. Update your index: Right-click the index and choose Update Field to successfully remove the ghost entries.
Highly compatible with Microsoft Word document formats (.docx and .doc).One-click toggle to reveal hidden text and XE field codes.Lightweight, fast performance even with large, complex documents.Free and user-friendly alternative to Microsoft Office.
microsoft office alternative - wps office

Frequently Asked Questions

Why are my deleted index entries still appearing?

Index entries are generated directly from XE fields. If an entry still appears after updating, a hidden XE field likely remains in another part of the document, such as a footnote, endnote, or text box.

How do I view hidden XE fields in my document?

Go to the Home tab and click the Show/Hide ¶ (paragraph mark) button. This reveals all hidden text and non-printing characters, making the hidden XE fields visible.

Can XE fields in headers and footers affect the index?

Generally, XE fields located within headers and footers are not included in a standard INDEX field calculation. You should primarily check text boxes, footnotes, and endnotes.

Why didn't Find and Replace remove all my XE fields?

Find and Replace might miss fields if hidden text is not actively displayed during the search, or if the field codes contain extra spaces and invisible formatting characters that disrupt the search string.