This example positions the endnotes in the active document at the end of the document and formats the endnote reference marks as lowercase roman numerals.
With ActiveDocument.Endnotes
.Location = wdEndOfDocument
.NumberStyle = wdNoteNumberStyleLowercaseRoman
End With