Endnotes.NumberingRule (Word)
Returns or sets the way endnotes are numbered after page breaks or section breaks. Possible return values are wdRestartContinuous - Numbers are assigned continuously, wdRestartPage - Numbers are reset for each page, wdRestartSection - Numbers are reset for each section.
ActiveDocument.Endnotes.NumberingRule = wdRestartSection