Thread: [Solved] Endnote Numbers are Wrong
View Single Post
 
Old 01-16-2025, 05:29 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,465
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by KDuncan View Post
Not knowing Word's macro language, would you please give me a little about what it is specifically doing.
Basically, the macro goes through all the endnotes, copies them to the end of the document body, and inserts an incrementally-numbered placeholder in the document body where the endnote used to be and allocates the same number to the endnote content that's been inserted at the end of the document body. The existing endnote numbers are disregarded. The macro then deletes all the Endnotes, before recreating all them from scratch, inserting them at the numbered placeholder locations and transferring the content for each endnote from the end of the document to the Endnote range, thus ensuring they all auto-numbered in the right sequence in both the document body and the Endnote range.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote