#1
|
|||
|
|||
Indexing terms in a document
I hope you don't mind if I pick up where glnz left off in https://www.msofficeforums.com/word-...ned-terms.html, because I'm looking for the exact same thing, and there are probably tens of thousands of lawyers and legal word processors who would forever be in your debt if you can perfect this! Using your code above, it gets us very close, but not all the way. I tried it on a document of mine, which like glnz's document, uses double quotation marks to indicate defined terms (i.e., terms that are capitalized in the document, and carry specific definitions that are also in the document). The idea is to create an index that lists all the defined terms in the document, and also shows where they are defined. It's tricky, because in some cases, a word may be used both as a defined term (when it is capitalized) and also as a generic word. So we need to find ONLY those terms that are double in quotation marks, and we eonly want the instance in quotation marks to be indexed, and no other instances of the term/word.
One shortcoming of your method, too, is that it does not provide the index codes in the document. Sometimes, it is necessary to customize a particular reference. For example, if you have a document with defined terms in the main document, and also in various schedules or exhibits we need to be able to direct the reader to the correct Schedule and page number within the schedule. So in the index, y9ou might see one term referring a page number, and another referring to "A-2" (meaning page 2 of Exhibit A). The other benefit of having the index codes in the document is that it allows one to very quickly scan through the document to make sure if all the terms have been included, rather than having to flip from the index, then to a page number, for each term. The reason this would be so helpful to so many is that on very lengthy legal agreements, there can be dozens, or even hundreds, of defined terms. Anyway, if you could be of any further help on this, I and many others would be eternally grateful! -markpkessinger Last edited by macropod; 08-15-2022 at 05:01 PM. Reason: Split from: https://www.msofficeforums.com/word-vba/12090-need-macro-make-list-defined-terms.html |
#2
|
||||
|
||||
Quote:
Quote:
Quote:
Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
VBA code to compile one document based on multiple search terms | Hoxton118 | Word VBA | 4 | 04-04-2021 06:02 AM |
Macros update - change only highlighted terms throughout document | irinarox | Word VBA | 4 | 02-11-2020 08:53 AM |
Best Practice for Indexing Multiple Word Terms and Sub-Terms | jhy001 | Word | 4 | 11-06-2017 02:08 PM |
Indexing whole document | Matt Rance | Word | 8 | 11-06-2012 06:05 AM |
Indexing in document | rafikul | Word | 0 | 12-17-2009 11:07 PM |