![]() |
|
|
|
#1
|
|||
|
|||
|
Thanks for the instructions, Big0. Monday could be a day of celebration! I'd do it now but I'm on a work bender for the next few days. |
|
#2
|
|||
|
|||
|
Hi Big0
OK, I tried it, replacing your Array with the following line: vFindText = Array("Schedule", "English", "The", "United States", "Scheduled Completion Date") It replaced 'Schedule' with red but not the other words - any idea? Anyway, this is definitely on the right tracks so I'm very grateful. I need to develop this further so that I can quickly locate standalone terms and multi-word terms, so that, eg, I can highlight: '[not preceded by an upper-case word with certain exceptions, eg 'The'] Issuer [not followed by any upper-case word]', so that '[The/Each etc] Issuer' is highlighted but not 'Subordinated Issuer', 'Issuer Event of Default' etc. or highlight multi-words so, eg, highlight instances of 'Subordinated Issuer' but not the 2 words separately. And to do this for hundreds of terms in each document! (Down the line, the elusive goal would be to auto-locate and list bold definitions in a document and auto-list terms that are not used except where defined - probably not achievable; otherwise the program would be out there, but as near as dammit would suit me) The programming skills would, I imagine, be quite advanced to achieve what I want, but do you think this can be developed further? And if so, what's the most cost-effective way (obviously, I wouldn't expect anyone to do this for free) -I was thinking of contacting a university department. Or do you have the skills? PM me if maybe so. Thanks Bertie Last edited by bertietheblue; 07-01-2013 at 05:59 AM. |
|
#3
|
|||
|
|||
|
I should say at the moment I'm jut using wildcards, specifically (eg Issuer):
"[A-Z][a-z]{3,} Issuer" [not highlight] - to see if preceded by u/c word (having already highlighted all u/c words at beginning of paras (by highlighting wildcard 13^[A-Z]) and sentences (by highlighting all instances of '. ^$' and '. ^$') and "Issuer [A-Z]" to see if followed by u/c word. Time-consuming!
|
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Find and highlight multiple words in MS Word document
|
AtaLoss | Word VBA | 37 | 09-22-2021 12:04 PM |
Macro to highlight a list of words
|
bakerkr | Word VBA | 4 | 10-19-2017 02:23 PM |
How to make it highlight blocks of text (words) without highlighting extra space @end
|
seortm | Word | 3 | 03-30-2015 08:12 AM |
Highlight and then replace multiple words
|
redhin | Word VBA | 5 | 03-05-2013 05:42 AM |
Find and highlight all words ending in -ly
|
RBLampert | Word VBA | 13 | 10-23-2012 04:45 PM |