Share via

Microsoft Word Phantom Section Breaks

Shafa Ahmad 0 Reputation points
2026-02-02T00:21:56.6866667+00:00

I am using Word 2013 to write basically a sustentation.

I have 50 sections in the document each with endnotes at the end of the sections. Each section has styleref footnotes going back to a heading in that section. The issue now is, in the endnotes of each section, in the headers and footnotes, word is randomly going to the end section. So for example I might be in section 6 endnotes, the body text of the endnotes started section six. But if I show header or footer it is showing section 50. Then as the endnotes end and the new section starts it's back to normal at section 7. I cannot click into these headers and footers as it takes you to the last one in the section above. And it is randomly using a styleref not linked to that section. I have had copilot walk me through hours of fixes which surely work only to fail

Microsoft 365 and Office | Word | For home | Windows
0 comments No comments

3 answers

Sort by: Most helpful
  1. Stefan Blom 342.4K Reputation points MVP Volunteer Moderator
    2026-02-02T19:14:19.7866667+00:00

    The STYLEREF field in the endnote area may reference the heading text of the next section (rather than the current one). I guess that it is the problem you are referring to?

    As far as I know, this is a bug, but I don't know if it is old or new.

    If you unlink headers/footers (that is what Doug's macro does), you can enter the info that should go into them manually. The downside is that adding the info may be a time-consuming process, of course.

    Was this answer helpful?

    2 people found this answer helpful.

  2. Doug Robbins - MVP - Office Apps and Services 323.1K Reputation points MVP Volunteer Moderator
    2026-02-02T00:36:27.5+00:00

    Save the document, then try running a macro that contains the following code:

    Dim i as Long, j as Long
    With ActiveDocument
        For i = 2 To .Sections.Count
            With .Sections(i)
                For j = 1 To .Headers.Count
                    .Headers(j).LinkToPrevious = False
                Next j
                For j = 1 To .Footers.Count
                    .Footers(j).LinkToPrevious = False
                Next j
            End With
        Next i
    End With
    

    Was this answer helpful?

    1 person found this answer helpful.

  3. AI answer

    2026-02-02T00:23:11.88+00:00

    It sounds like you're experiencing issues with section breaks and endnotes in your Word document. Here are a few troubleshooting steps you can try to resolve the problem:

    1. Check Section Breaks: Ensure that there are no phantom section breaks that might be affecting the flow of your document. You can enable the display of formatting marks by clicking on the paragraph symbol (¶) in the Home tab to see if there are any unexpected section breaks.
    2. Recreate Endnotes: Sometimes, endnotes can become corrupted. Try removing the endnotes from the sections and then reinsert them to see if that resolves the issue.
    3. Update Fields: If you are using StyleRef fields, make sure to update all fields in the document. You can do this by selecting all text (Ctrl + A) and then pressing F9 to update the fields.
    4. Check for Document Corruption: If the document is corrupted, you might want to try copying the content (without section breaks) into a new document. Use Draft view to copy only the text and avoid bringing over any formatting issues.
    5. Switch Document Views: Sometimes switching between different views (like Draft and Print Layout) can help reset how Word processes the document. Try switching views and see if that resolves the issue.
    6. Repair Office: If the problem persists, consider repairing your Office installation. You can do this through the Control Panel under Programs and Features.

    If these steps do not resolve the issue, it may be beneficial to consult Microsoft support or forums for more specific guidance related to your version of Word.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.