PC Review


Reply
Thread Tools Rate Thread

Changing Style of One Word

 
 
=?Utf-8?B?Sm9zaA==?=
Guest
Posts: n/a
 
      20th Feb 2006
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?)
 
Reply With Quote
 
 
 
 
Tony Jollans
Guest
Posts: n/a
 
      20th Feb 2006
Yes - use a Character Style.

--
Enjoy,
Tony


"Josh" <(E-Mail Removed)> wrote in message
news:A7C8AE9C-9E13-4653-9D68-(E-Mail Removed)...
> 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?)



 
Reply With Quote
 
Graham Mayor
Guest
Posts: n/a
 
      20th Feb 2006
No! The whole word must be selected.

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

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


Tony Jollans wrote:
> Yes - use a Character Style.
>
>
> "Josh" <(E-Mail Removed)> wrote in message
> news:A7C8AE9C-9E13-4653-9D68-(E-Mail Removed)...
>> 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?)



 
Reply With Quote
 
Tony Jollans
Guest
Posts: n/a
 
      20th Feb 2006
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.

--
Enjoy,
Tony


"Graham Mayor" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> No! The whole word must be selected.
>
> --
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor - Word MVP
>
> My web site www.gmayor.com
> Word MVP web site http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>
>
> Tony Jollans wrote:
> > Yes - use a Character Style.
> >
> >
> > "Josh" <(E-Mail Removed)> wrote in message
> > news:A7C8AE9C-9E13-4653-9D68-(E-Mail Removed)...
> >> 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?)

>
>



 
Reply With Quote
 
=?Utf-8?B?Sm9zaA==?=
Guest
Posts: n/a
 
      20th Feb 2006
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?

"Graham Mayor" wrote:

> No! The whole word must be selected.
>
> --
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor - Word MVP
>
> My web site www.gmayor.com
> Word MVP web site http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>
>
> Tony Jollans wrote:
> > Yes - use a Character Style.
> >
> >
> > "Josh" <(E-Mail Removed)> wrote in message
> > news:A7C8AE9C-9E13-4653-9D68-(E-Mail Removed)...
> >> 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?)

>
>
>

 
Reply With Quote
 
Tony Jollans
Guest
Posts: n/a
 
      20th Feb 2006
'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.

--
Enjoy,
Tony


"Josh" <(E-Mail Removed)> wrote in message
news:A8067771-0E36-42EB-A6E7-(E-Mail Removed)...
> 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?
>
> "Graham Mayor" wrote:
>
> > No! The whole word must be selected.
> >
> > --
> > <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> > Graham Mayor - Word MVP
> >
> > My web site www.gmayor.com
> > Word MVP web site http://word.mvps.org
> > <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> >
> >
> > Tony Jollans wrote:
> > > Yes - use a Character Style.
> > >
> > >
> > > "Josh" <(E-Mail Removed)> wrote in message
> > > news:A7C8AE9C-9E13-4653-9D68-(E-Mail Removed)...
> > >> 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?)

> >
> >
> >



 
Reply With Quote
 
Graham Mayor
Guest
Posts: n/a
 
      21st Feb 2006
http://www.gmayor.com/replace_using_wildcards.htm will help explain what is
and what isn't possible.

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

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

Josh wrote:
> 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?
>
> "Graham Mayor" wrote:
>
>> No! The whole word must be selected.
>>
>> --
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>> Graham Mayor - Word MVP
>>
>> My web site www.gmayor.com
>> Word MVP web site http://word.mvps.org
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>>
>>
>> Tony Jollans wrote:
>>> Yes - use a Character Style.
>>>
>>>
>>> "Josh" <(E-Mail Removed)> wrote in message
>>> news:A7C8AE9C-9E13-4653-9D68-(E-Mail Removed)...
>>>> 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?)



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the default style in Word 2007 PRR Microsoft Word Document Management 9 31st Mar 2010 03:31 AM
Changing TOC2 Style to be 'Capitalize Every Word' in Word 2007 suz423 Microsoft Word Document Management 1 28th Jun 2009 10:46 PM
Stop Word from Changing Style SusanB Microsoft Word New Users 5 17th Dec 2008 09:46 PM
Word keeps changing the style I assigned to it's own =?Utf-8?B?RGFuYSBI?= Microsoft Word Document Management 2 13th Oct 2006 03:20 PM
Word 97 freezes when changing style Marg Microsoft Word Document Management 1 11th Feb 2004 08:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:23 AM.