SuppressEndnotes Property Example

This example suppresses endnotes in the first section in the active document.

If ActiveDocument.Endnotes.Location = wdEndOfSection Then
    ActiveDocument.Sections(1).PageSetup.SuppressEndnotes = True
End If