Hi All,
Word provides tools for creating a list and cross-references to items in the list. So I can re-order items in my list and then update the cross-reference fields and everything is taken care of.
My need is slightly different. My requirement is to have references (to books, articles, whatever) occur in the order mentioned in the text. If I move the text around, I want my reference list to be re-ordered (re-sorted) and the corresponding text to point to the new numbers for the items in the reference list.
For example:
Original:
yada yada yada see Reference 1
stuff and make sure to see Reference 2
Reference List.
1. The Good Book
2. War and Peace
Move Text around so it reads:
stuff and make sure to see Reference 1
yada yada yada see Reference 2
Reference List
1. War and Peace
2. The Good Book
I don’t think this is something Word does (except perhaps XP which I’ve not used).
VBA is acceptable. I’m thinking something with bookmarks on the original text that does the referencing. However, would want to automate the process somewhat so I don’t have to create the bookmarks manually. So maybe a button to click when ready to add the reference that bookmarks the text (eg, “Reference 1” or maybe just the “1” above – probably not hard). When I move text around, I could invoke a 2nd subroutine that checks for the bookmarks, re-orders the reference list in the order they appear, and update the cross-reference fields that point to the list (certainly harder to me).
This is well beyond my Word VBA coding capabilities..
Ideas?
Thanks.
Fred