View Single Post
  #6   Report Post  
Posted to microsoft.public.word.newusers
VitaminL[_3_] VitaminL[_3_] is offline
external usenet poster
 
Posts: 1
Default find/replace with font color


Works a charm.

Thank you very much~

vitaminL

Graham Mayor;2634797 Wrote:
Change the line
sFindText = Selection.Words(1)
to
sFindText = Selection

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


VitaminL wrote:-
Thanks for the help! That macro is almost perfect, I work with
Chinese
text so it sometimes has difficulties with determining when words
start and stop. Is there an easy way to change it to search and
replace only for the text I've selected (highlighted)?

Thanks again,

VitaminL -





--
VitaminL