SwapWithEndnotes Method

Converts all footnotes in a document to endnotes and vice versa.

Note   To convert a range of footnotes to endnotes, use the Convert method.

expression**.SwapWithEndnotes**

expression   Required. An expression that returns a Footnotes object.

Example

This example converts the footnotes in the active document to endnotes and converts the endnotes to footnotes.

  ActiveDocument.Footnotes.SwapWithEndnotes