#1   Report Post  
Posted to microsoft.public.word.docmanagement
Mike Mike is offline
external usenet poster
 
Posts: 229
Default FindReplaceFunction

I have a table that contains the single letter C and also has the letter c in
whole words as well, "Cake". I need to use the FindReplace statement to
search for
the single letter c and replace with "yes" but not affect other whole words
cotaining the letter c. Can this be done using the FindReplace statement and
how would
the Edit statement look like.
Thanks for anyone who can help.
--
mike
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default FindReplaceFunction

Use a wildcard search for [Cc]
http://www.gmayor.com/replace_using_wildcards.htm

--

Graham Mayor - Word MVP

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


mike wrote:
I have a table that contains the single letter C and also has the
letter c in whole words as well, "Cake". I need to use the
FindReplace statement to search for
the single letter c and replace with "yes" but not affect other whole
words cotaining the letter c. Can this be done using the FindReplace
statement and how would
the Edit statement look like.
Thanks for anyone who can help.



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Rae Drysdale Rae Drysdale is offline
external usenet poster
 
Posts: 507
Default FindReplaceFunction

In the Replace dialog box, click on the More button. Then select Find Whole
Words Only. Does this work for you?
--
Rae Drysdale


"mike" wrote:

I have a table that contains the single letter C and also has the letter c in
whole words as well, "Cake". I need to use the FindReplace statement to
search for
the single letter c and replace with "yes" but not affect other whole words
cotaining the letter c. Can this be done using the FindReplace statement and
how would
the Edit statement look like.
Thanks for anyone who can help.
--
mike

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:02 AM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"