SuppressEndnotes Property

Microsoft Word Visual Basic

SuppressEndnotes Property

       

True if endnotes are printed at the end of the next section that doesn't suppress endnotes. Suppressed endnotes are printed before the endnotes in that section. Read/write Long.

expression.SuppressEndnotes

expression   Required. An expression that returns a PageSetup  object.

Remarks

This property takes effect only if the Location property is set to wdEndOfSection.

Example

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

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