Thread: Ms Word Macro
View Single Post
 
Old 01-08-2020, 10:00 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The problem with colouring all words that are capitalised is that the first word of every sentence will be coloured, as will names, titles, honorifics, etc. It would take a lot of coding to work around that.

As for processing the actual defined terms, there'd be no need to colour those as a macro that finds them can just as easily ensure they're correctly capitalised.

Before anyone could even begin coding, you'd need to provide details of how a macro might identify them. Simply saying the terms are bolded and the first character capitalised really isn't sufficient unless you can ensure nothing else appears that way elsewhere in the document.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote