A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Formatting Long Documents
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

styles find/replace problem



 
 
Thread Tools Display Modes
  #1  
Old October 29th, 2004, 02:11 PM
Animesh Chatterjee
external usenet poster
 
Posts: n/a
Default styles find/replace problem

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
  #2  
Old October 29th, 2004, 03:41 PM
Graham Mayor
external usenet poster
 
Posts: n/a
Default

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).

--

Graham Mayor - Word MVP

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




Animesh Chatterjee wrote:
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



  #3  
Old October 29th, 2004, 04:59 PM
Suzanne S. Barnhill
external usenet poster
 
Posts: n/a
Default

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.

--
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.

"Graham Mayor" wrote in message
...
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).

--

Graham Mayor - Word MVP

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




Animesh Chatterjee wrote:
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




  #4  
Old October 30th, 2004, 01:27 AM
Animesh Chatterjee
external usenet poster
 
Posts: n/a
Default

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


"Suzanne S. Barnhill" wrote in message ...
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.

--
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.

"Graham Mayor" wrote in message
...
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).

--

Graham Mayor - Word MVP

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

  #5  
Old October 30th, 2004, 01:49 AM
Suzanne S. Barnhill
external usenet poster
 
Posts: n/a
Default

Use Find and Replace to search for the heading style and replace it with
Default Paragraph Font.

--
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.

"Animesh Chatterjee" wrote in message
om...
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


"Suzanne S. Barnhill" wrote in message

...
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.

--
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.

"Graham Mayor" wrote in message
...
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).

--

Graham Mayor - Word MVP

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


  #6  
Old October 30th, 2004, 09:43 AM
Animesh Chatterjee
external usenet poster
 
Posts: n/a
Default

Thanks Suzanne. Considering that my document is 165 pages in length,
your tip saved me a couple of hours of extremely boring work!

Animesh


"Suzanne S. Barnhill" wrote in message ...
Use Find and Replace to search for the heading style and replace it with
Default Paragraph Font.

--
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.


  #7  
Old October 30th, 2004, 03:19 PM
Suzanne S. Barnhill
external usenet poster
 
Posts: n/a
Default

There's nothing like a really long document to force you to find more
efficient ways to do scutwork!

--
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.

"Animesh Chatterjee" wrote in message
om...
Thanks Suzanne. Considering that my document is 165 pages in length,
your tip saved me a couple of hours of extremely boring work!

Animesh


"Suzanne S. Barnhill" wrote in message

...
Use Find and Replace to search for the heading style and replace it with
Default Paragraph Font.

--
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.



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot manually copy styles Eileen Cowan Formatting Long Documents 20 September 17th, 2004 11:07 AM
Styles do not change when underlying template is changed GG General Discussion 8 July 30th, 2004 10:46 AM
find/replace many links problem pleblanc General Discussion 1 July 14th, 2004 09:43 PM
Customized styles unexpectedly lose the formatting settings Sherry General Discussion 2 June 28th, 2004 05:37 PM
PGP problem Bob Henson General Discussion 0 June 27th, 2004 11:28 AM


All times are GMT +1. The time now is 09:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.