Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 07-01-2013, 02:42 AM
bertietheblue bertietheblue is offline Macro to highlight words Windows 7 64bit Macro to highlight words Office 2003
Advanced Beginner
Macro to highlight words
 
Join Date: May 2012
Location: United Kingdom
Posts: 54
bertietheblue is on a distinguished road
Default

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.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to highlight words Find and highlight multiple words in MS Word document AtaLoss Word VBA 37 09-22-2021 12:04 PM
Macro to highlight words Macro to highlight a list of words bakerkr Word VBA 4 10-19-2017 02:23 PM
Macro to highlight words How to make it highlight blocks of text (words) without highlighting extra space @end seortm Word 3 03-30-2015 08:12 AM
Macro to highlight words Highlight and then replace multiple words redhin Word VBA 5 03-05-2013 05:42 AM
Macro to highlight words Find and highlight all words ending in -ly RBLampert Word VBA 13 10-23-2012 04:45 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft