Hi Ken,
Re:
Quote:
"Run-time error 4605, This method of property is not available because the object spans a frame or note boundary."
|
What code line is highlighted at that point? Can you upload a small portion of the document with sufficient content to reproduce the error? That would make debugging easier (the code worked fine for me in a document with over 100 endnotes, in blocks at the end of different chapters).
Re:
Quote:
the original document does not have the superscript number at the desired location. Rather it has "aXa" and I don't know of a way to change that back to the old superscript.
|
Your previous post indicated that your original document had:
Now is the time
[i]
[i] For all good men
and that it was Doug Robbins' code (supplied by Stefan) that generated the "aXa" output. That code should only have left you with the "X" - superscripted where the original endnote references appeared and as plain text at the end of the document. A serious limitation (IMHO) is that it also kills any formatting you had in your endnotes - my code retains it.
As for Word's functionality, it already has built into it the ability to place footnotes at the bottom of each page, and endnotes at either the end of each Section (chapter), or at the end of the document. I have never before encountered a requirement for them to be moved to a separate document.