Quote:
Originally Posted by gmayor
If the abbreviation in your document does not exist in the table, how is the macro supposed to know that it is an abbreviation?
|
You are again Mr. gmayor

Thank you for your effort and time
Thank you for this huge and complex code
Firstly,
My bro, I'm sure by 100% that every abbreviation in the table was used in my thesis, but as the supervisor each time delete many paragraphs and these paragraphs may contain certain abbreviations in the table. At the end, I want to filter the table to delete any unused abbreviation (deleted by the supervisor).
Secondly,
As the operation depends on two files, the abbreviations table file and my thesis file (active document)
I think you are misunderstanding me, because the result of the code, highlight the abbreviations in the active file, not in the abbreviations table, see below
142.png
So, I want to highlight the unused abbreviations in my table not in my thesis's paragraphs, in order to rapid recognizing and delete it from the table.
Thank you again