View Single Post
  #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