Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2008

Tip: Looking for answers? Try searching our database.

Need for de-styling macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
removing all headers and footers - 03 Feb 2008 19:09 GMT
I have a large file (book manuscript) from my publisher, that I need to
extensively revise. It has a very large number (300-plus) of styles and
formatting sets (fonts, spacing, etc) when I go to the style pane, with track
formatting clicked. So have "CM" styles with a + font or other formatting..

I need to get rid of all of these  and change them to a simple "normal"
paragraph style, with Times Roman font and single spaced, and hopefully leave
the heading and note styles as is. But get rid of all the other styles and
formatting, which shift as I revise and create a very messy mss. Is there a
way to do a simple macro to get rid of all these styles and formatting?
Stefan Blom - 04 Feb 2008 09:46 GMT
You can remove direct formatting from text by selecting it and then pressing
Ctrl+Q (clears paragraph formatting not in style) as well as Ctrl+SpaceBar
(clears font formatting not in style).

To apply Normal style to the selected paragraphs, just press Ctrl+Shift+N.

Note also that you can use Find and Replace to replace a style with the
Normal style.

Signature

Stefan Blom
Microsoft Word MVP

>I have a large file (book manuscript) from my publisher, that I need to
> extensively revise. It has a very large number (300-plus) of styles and
[quoted text clipped - 10 lines]
> a
> way to do a simple macro to get rid of all these styles and formatting?
removing all headers and footers - 04 Feb 2008 18:52 GMT
Thanks. Is there a writeup somewhere that shows how to use search and replace
for these trickier tasks? Can you replace a style+formatting with search and
replace?

> You can remove direct formatting from text by selecting it and then pressing
> Ctrl+Q (clears paragraph formatting not in style) as well as Ctrl+SpaceBar
[quoted text clipped - 19 lines]
> > a
> > way to do a simple macro to get rid of all these styles and formatting?
Stefan Blom - 05 Feb 2008 13:22 GMT
Press Ctrl+H to display the Find and Replace dialog box. Click the More
button to see all options. With the insertion point inside the "Find what"
box, click Format, and then click Style. Choose the style name. Click OK.
Repeat the procedure for the "Replace with" box, choosing the desired style.

For example, use this procedure to replace custom styles with the Normal
style.

If necessary, you can then clear font formatting by replacing the Normal
style with Default Paragraph Font.

But note that if most of the paragraphs of the document should be in Normal
style, you could just as well apply it manually (select the whole document
first), and then apply heading styles to the paragraphs that should be
headings.

Signature

Stefan Blom
Microsoft Word MVP

> Thanks. Is there a writeup somewhere that shows how to use search and
> replace
[quoted text clipped - 30 lines]
>> > a
>> > way to do a simple macro to get rid of all these styles and formatting?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.