Changing Style of One Word

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to limit style changes to the word in which the cursor is
placed, rather than the entire sentence/paragraph without selecting the
entire word? (e.g., if I place the cursor after the letter "n" in the word
"entire" can I change the style of only this word instead of this entire
paragraph?)
 
No! The whole word must be selected.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Oops! My apologies, I didn't read the question properly.

This could be done with a nacro but not in native Word without selecting the
whole word.
 
Is it possible, then, to select a whole word when finding/replacing (i.e.,
searching for "a" resulting in the whole word "apple" being selected)? Would
this require a macro?
 
'fraid that will require a macro.

Find and Replace uses a unique form of regular expression which does not
allow looking for zero or more occurrences of something so it is not
possible in a single Find for, say, "a" to identify bith "apple" and
"banana". For example ...

A Find pattern of <q[a-pr-z]{1,}will find whole (lower case) words beginning
with "q"

A Find pattern of <[b-z]{1,}a*> will find lower case words with an "a"
anywhere except the beginning

You will need to expand the patterns a bit to cope with mixed case.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top