Hi,
I was attempting to create a table of contents in Word 2002. I was
intially mystified about why the headings in the table of contents
came up in the same font as the equivalent heading in the text, rather
than in the font I had specified for the TOC. I have now realised that
this is because I had not used styles to define the font and size in
the headings in the text; instead I had manually formated the
headings.
I have created several custom styles that match the font and size of
of my headings. I tried to use the find and replace command to replace
my pre-formatted headings with the style. For example, I had manually
formated some of the headings as 16 point Arial bold, 1.5 spaced,
justified. I created a style with these parameters. I then used find
and replace to find all 16 point Arial bold, 1.5 spaced, justified
text in my 165 page document and replace it with my custom style.
However, the replace did not work properly. Instead of replacing the
manual formatting with the style which I had chosen, it replaced the
manual formatting with differently formated styles. As an example, my
custom 16 point Arial bold, 1.5 spaced, justified style was called
"Title One". After doing the replace, the styles pane on the side of
the window suddenly showed up a whole lot of new custom styles, which
I had not created. These included "Title One + 14 point Arial - bold"
- and this was the formatting applied to some of my headings!
Interestingly, this only happened haphazardly - 7/9 headings in my
document formatted correctly (ie with my custom "Title One" style),
but the other two had this weird custom style.
Where did these extra styles come from, and how can I use the find and
replace command to replace my manually formatted text with a custom
style of my choosing?
Thanks in advance,
Animesh
Graham Mayor - 29 Oct 2004 15:41 GMT
You have applied an underlying style but the manual formatting remains -
select the document (CTRL+A) then reset the formatting to the underlying
styles (CTRL+Space).

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Hi,
>
[quoted text clipped - 33 lines]
>
> Animesh
Suzanne S. Barnhill - 29 Oct 2004 16:59 GMT
And note that what you're seeing are not really "styles" but merely
"formatting." Better to remove it as Graham suggests (especially since it
can have the opposite effect), but if you don't want to see it listed, clear
the check box for "Keep track of formatting" on the Edit tab of Tools |
Options.

Signature
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
> You have applied an underlying style but the manual formatting remains -
> select the document (CTRL+A) then reset the formatting to the underlying
[quoted text clipped - 37 lines]
> >
> > Animesh
Animesh Chatterjee - 30 Oct 2004 01:27 GMT
Thanks for your replies, Graham and Suzanne.
Am I then correct in assuming that find and replace is unable to
replace manually formatted text with styles?
I can't really select my whole document and undo all formatting by
pressing control + spacebar, as I have a lot of other formatting, e.g.
italics and different sized fonts, which I don't want to loose. I
guess the best thing to do is to manually go through the document,
remove the manual formatting from each heading individually, and apply
the style?
Thanks
Animesh
> And note that what you're seeing are not really "styles" but merely
> "formatting." Better to remove it as Graham suggests (especially since it
[quoted text clipped - 5 lines]
> > select the document (CTRL+A) then reset the formatting to the underlying
> > styles (CTRL+Space).
Suzanne S. Barnhill - 30 Oct 2004 01:49 GMT
Use Find and Replace to search for the heading style and replace it with
Default Paragraph Font.

Signature
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
> Thanks for your replies, Graham and Suzanne.
>
[quoted text clipped - 21 lines]
> > > select the document (CTRL+A) then reset the formatting to the underlying
> > > styles (CTRL+Space).
Animesh Chatterjee - 30 Oct 2004 09:43 GMT
Thanks Suzanne. Considering that my document is 165 pages in length,
your tip saved me a couple of hours of extremely boring work!
Animesh
> Use Find and Replace to search for the heading style and replace it with
> Default Paragraph Font.
Suzanne S. Barnhill - 30 Oct 2004 15:19 GMT
There's nothing like a really long document to force you to find more
efficient ways to do scutwork!

Signature
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
> Thanks Suzanne. Considering that my document is 165 pages in length,
> your tip saved me a couple of hours of extremely boring work!
[quoted text clipped - 3 lines]
> > Use Find and Replace to search for the heading style and replace it with
> > Default Paragraph Font.