Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
 
Posts: n/a
Default Adding Extra Characters with Style

This is probably crazy and/or impossible, but I'd like to add
characters at
the beginning and end of a style automatically. I'm formatting a
document in
multiple ways using templates, and I'd like one version to use [ and ]
around a certain style (both paragraph and character level styles) and
one version
to use ( and ). Is there anyway to implement that with styles instead
of
doing a search and replace--which will likely catch other stuff that I
don't
want included? Or some other easy way to do it? Or am I just out of
luck and
I have to chose one braket style and use it for all versions?

Thanks,
Chris

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor
 
Posts: n/a
Default Adding Extra Characters with Style

You can't do this automatically.

If your document is formatted correctly using PARAGRAPH styles replace will
work -
Using wildcards
Replace
(*)(^13) - format style (select style)
with
Leading text \1 trailing text \2

If you want to add the text to CHARACTER styles then
Put nothing in the find box and - format style (select character style)
Uncheck the wildcards box
In the replace box put
Leading text ^& trailing text

The secret of successful searches is to use unambiguous search strings

See also 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




wrote:
This is probably crazy and/or impossible, but I'd like to add
characters at
the beginning and end of a style automatically. I'm formatting a
document in
multiple ways using templates, and I'd like one version to use [ and ]
around a certain style (both paragraph and character level styles) and
one version
to use ( and ). Is there anyway to implement that with styles instead
of
doing a search and replace--which will likely catch other stuff that I
don't
want included? Or some other easy way to do it? Or am I just out of
luck and
I have to chose one braket style and use it for all versions?

Thanks,
Chris



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
 
Posts: n/a
Default Adding Extra Characters with Style

Alright, I thought that would be the case. Thanks for that search info.
It does just what I want. It's amazing how powerful word really is in
some areas. And thanks for the quick response!

--Chris

Graham Mayor wrote:
You can't do this automatically.

If your document is formatted correctly using PARAGRAPH styles replace will
work -
Using wildcards
Replace
(*)(^13) - format style (select style)
with
Leading text \1 trailing text \2

If you want to add the text to CHARACTER styles then
Put nothing in the find box and - format style (select character style)
Uncheck the wildcards box
In the replace box put
Leading text ^& trailing text

The secret of successful searches is to use unambiguous search strings

See also 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




wrote:
This is probably crazy and/or impossible, but I'd like to add
characters at
the beginning and end of a style automatically. I'm formatting a
document in
multiple ways using templates, and I'd like one version to use [ and ]
around a certain style (both paragraph and character level styles) and
one version
to use ( and ). Is there anyway to implement that with styles instead
of
doing a search and replace--which will likely catch other stuff that I
don't
want included? Or some other easy way to do it? Or am I just out of
luck and
I have to chose one braket style and use it for all versions?

Thanks,
Chris


Reply
Thread Tools
Display Modes

Posting Rules

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Table of contents - random extra style Hebe Page Layout 1 May 26th 06 05:26 AM
Word 2003: Can one disable table styles? [email protected] Tables 5 April 10th 05 10:02 AM
Extra Characters Bob Inwater Tables 2 March 3rd 05 04:39 PM
In Word - adding extra pages when creating a template Ken Boyter Microsoft Word Help 4 February 11th 05 05:47 PM
How can I stop Word from adding a new style when I hand-format so. Steven Hall Page Layout 1 January 10th 05 07:37 PM


All times are GMT +1. The time now is 08:34 AM.

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

About Us

"It's about Microsoft Word"