View Single Post
  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Retrieving bold lines as lines in Table of Contents

But if I were intending to apply the style as designed, I would not want the
bold to be retained.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Graham Mayor" wrote in message
...
I agree about (1) but with (2) the replace with is not so clear cut. If you
use a style that is already bold then the bold attribute will be reversed.
However if you use a style that is not bold, the bold attribute would be
retained.

--

Graham Mayor - Word MVP

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



Suzanne S. Barnhill wrote:
I would suggest an alternative:

1. Search for ^p (a paragraph mark) with bold format. (This will
ensure that you get just full paragraphs that are bold.)

2. Replace with the style but remove the bold formatting from the
"Replace with" box (press Ctrl+B twice more until the Font: Bold
disappears). I would worry that the headings would be bolded whether
the style includes that format or not, or that Word would remove the
bold formatting that might be included in the style.


"Graham Mayor" wrote in message
...
CTRL+H opens the replace dialog
With the cursor in the find box type CTRL+B (bold)
Click the More button
Click into the replace with box
Format and pick a heading style
Click CTRL+B
Note that you should have
Font: Bold under the empty find box
and Syle: Heading 1, Font Bold under the empty replace box. If not
click no formatting and start again!
When you have this click replace.
Note that if only part of the line is Bold, the whole paragraph will
be formatted with the heading style, so click through one at a time.

--

Graham Mayor - Word MVP

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




Pekka Numminen wrote:
On Sep 19, 6:02 pm, "Suzanne S. Barnhill"
wrote:
Not unless you use Find and Replace to apply a heading style to all
bolded lines.

And how can you do that?