Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
John John is offline
external usenet poster
 
Posts: 307
Default How to remove all styles from the Quick Style Gallery

Word 2007 SP1
XP Pro SP2

Problem: How to remove all styles from the Quick Style Gallery

I have many styles in the Quick Style Gallery list.
I would like to have only a few listed.
Is there a way to quickly remove all the styles
in the Quick Style Gallery list instead of having to remove
each style individually using the context menu?

Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default How to remove all styles from the Quick Style Gallery

To clear all quick styles in the active document, you can run the following
macro:

Sub ClearAllQuickStylesInDoc()
Dim s As Style

For Each s In ActiveDocument.Styles
If s.Type = wdStyleTypeCharacter Or _
s.Type = wdStyleTypeParagraph Or _
s.Type = wdStyleTypeLinked Then

s.QuickStyle = False

End If

Next s
End Sub

If you need assistance, see http://www.gmayor.com/installing_macro.htm.

--
Stefan Blom
Microsoft Word MVP



"John" wrote in message
...
Word 2007 SP1
XP Pro SP2

Problem: How to remove all styles from the Quick Style Gallery

I have many styles in the Quick Style Gallery list.
I would like to have only a few listed.
Is there a way to quickly remove all the styles
in the Quick Style Gallery list instead of having to remove
each style individually using the context menu?

Thanks in advance.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick Style Gallery - Microsoft Office 2007 Butterfly123 Microsoft Word Help 1 May 12th 09 04:50 PM
Quick Styles Gallery in 2007 Missing? ddt Microsoft Word Help 5 November 19th 08 08:21 AM
Removing styles from Quick Style Gallery jmac Microsoft Word Help 3 October 16th 08 02:17 PM
Can I create a document-specific Quick Style Gallery? Ed from AZ Microsoft Word Help 1 June 21st 08 05:59 PM
Quick Styles Gallery Changes Arlene New Users 5 April 6th 08 05:33 AM


All times are GMT +1. The time now is 03:32 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"