Forum Discussion
MForhood
May 09, 2024Copper Contributor
Help: Editing VBA code
Hi I have a code that highlight duplicated words or numbers, it gives the first value a pink color, and the duplicate a green color. AFAIK Words can't search for a specific highlight color. S...
May 09, 2024
Use a wildcard Find/Replace, where
Find = (<*>)?\1
and'=
Replace = \1Note:
This assumes there is always a single character separating the repeated words and that they're of the same case.