B
burrowing owl
Hello,
Should I expect "ActiveDocument.Range.InsertAfter Endnote.Range" to
conserve the formatting from the endnote, specifically italics or
underlining? It seems to remove it. If it is in fact removing
formatting, is there a command that would tell it to conserve
formatting?
Just a portion of a script to un-embed endnotes (see line 3):
1 Dim aendnote As Endnote
2 For Each aendnote In ActiveDocument.Endnotes
3 ActiveDocument.Range.InsertAfter vbCr & aendnote.Index & "-" &
aendnote.Range
4 aendnote.Reference.InsertBefore "a" & aendnote.Index & "a"
5 Next aendnote
6 For Each aendnote In ActiveDocument.Endnotes
7 aendnote.Reference.Delete
8 Next aendnote
Should I expect "ActiveDocument.Range.InsertAfter Endnote.Range" to
conserve the formatting from the endnote, specifically italics or
underlining? It seems to remove it. If it is in fact removing
formatting, is there a command that would tell it to conserve
formatting?
Just a portion of a script to un-embed endnotes (see line 3):
1 Dim aendnote As Endnote
2 For Each aendnote In ActiveDocument.Endnotes
3 ActiveDocument.Range.InsertAfter vbCr & aendnote.Index & "-" &
aendnote.Range
4 aendnote.Reference.InsertBefore "a" & aendnote.Index & "a"
5 Next aendnote
6 For Each aendnote In ActiveDocument.Endnotes
7 aendnote.Reference.Delete
8 Next aendnote