Quote:
Originally Posted by slaycock
You can't 'Move' text as such. You cut/copy and paste. or use one of the insert properties at your destination range, the text or formatted text property from your destination range and then optionally delete at your source range.
Your description of what you wish to do is very confusing but what I think you are saying is that if you are deleting a portion of text that contains the original reference to an endnote then you need to recreate this original reference elsewhere in a portion of text that you are not deleting.
If this understanding is correct then you are probably using the wrong approach by inserting endnotes.
An alternative would be to create a new type of caption
e.g. References.insert Caption.New Label
use 'en' as your new label.
Tick the box exclude label from caption.
You can then create a list of captions that are number 1... n.
If you put the list list of 'en' captions at the end of your document you can now cross refer using the cross reference tool as you did for end notes with the benefit that the source of the cross reference is not embedded in the text and so won't be deleted when a portion of text is deleted.
A further alternative would be to investigate the use of the citations and bibliography tools.
|
Thanks, I figured there was no way to just move a piece of text. Seems like a simple thing to do (I can drag a selection in the program to relocate text), not sure why that wouldn't be available as a method of the range object.
I'll look into your other suggestions, but I don't know if they will address all of the needs I have. I'm not always very good at phrasing my problem.
If I use captions, then would I need to manage the order of the captions myself if one gets deleted or relocated? e.g. If the first caption is deleted, but is referenced after the third caption in the document, I need the list to reorder to move the first caption to the third location (since it is now referenced later in the document). And if there is only one reference to the caption, then it needs to be deleted from the list.
What I have does seem to work to relocate the endnote and relink the references properly, and will remove or reorder the endnotes as necessary.