![]() |
#1
|
|||
|
|||
![]() I want to create multiple Galleries, not change or add to existing default style gallery. |
#2
|
||||
|
||||
![]()
To have a method of changing the styles listed in the Quick Styles Gallery you would need to set up a series of templates and either:
1. Choose a template to attach and then refresh the styles from the template or 2. Save each template as New Style Set (on the Design Tab) and then choose that style set to apply to the document. In either option, you are effectively importing styles from the external file in order to get a new set of style definitions which includes what you wanted to see in the list of styles and quick styles.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
|||
|
|||
![]() Quote:
Which version of Word are you using? However, [Quick] Style Sets can be used to change the formatting of the styles that appear in the [Quick] Styles Gallery on the Home tab. Here is a a screenshot from my Quick Style Sets Sampler document that lets you see what all of the Quick Style Sets look like. It contains the twenty-five styles that are in the distributed Quick Style Sets. Also, consider saving and using templates that have their own styles (modified built-in styles and/or custom styles). Very few of the available and active styles appear in the [Quick] Styles Gallery. Word has more than one-hundred built-in styles. While the [Quick] Style Sets distributed with Word have a specific set of 25 styles, you can put as many as you wish in a custom [Quick] Style Set. They do need to be in the [Quick] Styles Gallery when you create a Style Set and will be in that Gallery when you use such a style set in a new document. This can get cluttered. You can also use the Organizer to copy any styles from one document/template to another. You can do this with a macro if you want. See my page A Global StyleSheet in Microsoft Word? Become familiar with the Styles Pane and Apply Styles dialog.
Last edited by Charles Kenyon; 02-25-2023 at 06:44 PM. |
#4
|
||||
|
||||
![]()
The style gallery is nothing less and nothing more than the set of styles shown in the Styles group on the Home tab. Switching style sets will replace the current one in a document.
To have multiple, "pre-populated" style sets, you'll need to set up multiple templates, as Andrew has already suggested.
__________________
Stefan Blom Microsoft Word MVP |
#5
|
|||
|
|||
![]()
You can create Custom Themes and Custom Style Sets. The Styles shown in the Style Gallery can be a Custom Style Set.
I believe you want to Understand Themes and the Style Sets you'll find on the Design Ribbon. Also how the Colors and Fonts can affect your document from the Design Ribbon. Most people do not understand that is where the default font/typeface is/can be selected. The default Font for Styles can be changed in the Style itself, but that would defeat the function of the Design Tab. The Style Sets there also show how easily a document can be changed. A Custom Style Style set. If you go through creating (you would really Copy and Modify) a custom Style Set, you first find that Word will create a new Document Template to store the set! Take note of the default folder. You can add more styles to the Gallery from the Style Set, but you need to make sure you add to the Current Document and New Documents Based on This Template to ensure consistent behavior. Add Styles to a Style Set? That would be super special rare case considering all the predefined styles that already exist. There is a Macro at StackOverflow that can list most the styles in the Current Style Set and the parameters. The macro as published, excludes List and Table styles. |
#6
|
|||
|
|||
![]() Quote:
Here is a modified version of Jessica Weissman's macro that reports only styles that are in or can be in a Quick Style Set. That is, those that are Quick Styles. Code:
Sub describeAllQuickStyles() ' by Jessica Weissman 2012-12-05 ' https://stackoverflow.com/questions/13706753/how-can-i-export-style-names-and-definitions-from-ms-word-2010-quickstyle-set-or ' modified for Quick Styles by Charles Kenyon 2023-02-07 ' https://www.msofficeforums.com/word/50385-how-create-multiple-word-style-galleries.html#post173323 ' Dim docActive As Document Dim docNew As Document Dim styleLoop As Style ' Set docActive = ActiveDocument Set docNew = Documents.Add For Each styleLoop In docActive.Styles If styleLoop.Type < 3 Then If styleLoop.QuickStyle = True Then 'ckk ' show only character and paragraph styles, not list or table styles With docNew.range .InsertAfter Text:=styleLoop.NameLocal & Chr(9) _ & styleLoop.Description .InsertParagraphAfter .InsertParagraphAfter End With End If 'ckk End If Next styleLoop Set docNew = Nothing 'ckk Set docActive = Nothing 'ckk Set styleLoop = Nothing 'ckk End Sub Here is my article on Quick Style Sets and Word Themes in Microsoft Word on the Microsoft website. |
#7
|
|||
|
|||
![]()
@Charles Kenyon.
Your Quick Style Sampler document still has all 300+ styles in it including List and Table Styles. There are 23 Styles displayed in the Styles Gallery. There are 17 Style Set available on the Designer Ribbon. I believe that it would benefit most users to be familiar with using the Styles Pane to Display ALL Styles ordered by As Recommended with Show Preview Selected. I would change the article to include that recommendation for users to at least look at the entire list. I don't believe most users out there have been exposed clearly to the number and types of Styles that already exist. |
#8
|
|||
|
|||
![]()
"Only the styles set to display in the Quick Styles Gallery on the Home tab are part of a Quick Style Set."
I disagree with that statement. For me, I guess, the use of Set in your description is problematic. The Style Set is all the Styles. Quick Styles are those displayed in the Gallery. The term Quick Style Set is a confusing term as it melds two specific cases. Quick Styles are not "Set", but can be changed and rearranged. I would refer to Faithe Wempen and her edition of Word 2013-In Depth, published by QUE (Pearson). I have a copy of the Word 4.0 Manual and wish I had the ability to run that version to see the leap that's been made to now and how, and maybe why. MS changed things. Last edited by spillerbd; 02-07-2023 at 09:09 PM. Reason: Update and add info. |
#9
|
|||
|
|||
![]() Quote:
This will include the Heading 3-9 styles which are hidden by default until the level above has been used. Since the Normal style is one of these, styles based on Normal in the current document may also be changed. The same is true of any styles based on one of these. How styles in Microsoft Word cascade by Shauna Kelly Yes, the Quick Styles Sets Sampler has many additional styles, but they are not part of Quick Style Sets. This an ordinary Word document with text displayed in each of the twenty-five styles in the standard distributed Quick Style Sets. It has all the styles in it that a new document created from the default Normal template would have. Non-Quick Styles can be changed by themes if they use theme fonts / colors. If they use set colors and fonts instead, they will not be changed by changing the theme. Non-Quick Styles in a document that are based on Quick Styles will also be changed by a change in the underlying Quick Style when a new Quick Style Set is applied. I join you in urging more use of the Styles Pane and other methods of accessing styles. I said that in my earlier post. The Quick Styles Gallery is a confusing crutch and has been deprecated by the "New Experience" in recent releases. Last edited by Charles Kenyon; 02-25-2023 at 06:50 PM. |
#10
|
|||
|
|||
![]() Quote:
[Quick] Style Sets are the those displayed on the Design Tab. They are not a set of all the styles in a document. Yes, this is confusing. Microsoft is now calling them simply Style Sets. Microsoft is well known for confusing jargon. I retain the term "Quick" Style Sets for clarity. Quote:
Try a quick experiment. This is an experiment to see what styles are in what Microsoft calls a Style Set and I refer to as a [Quick] Style Set. It tests the assertion/hypothesis that the only styles saved in such a Style Set are those set for display in the [Quick] Styles Gallery on the Home tab.
Code:
Private Sub StylesQuickStylesOff() ' Charles Kenyon 2018-12-03 ' ' Strips all styles from quickstyles gallery ' Dim aStyle As Style On Error Resume Next For Each aStyle In ActiveDocument.Styles aStyle.QuickStyle = False Next aStyle On Error GoTo -1 Set aStyle = Nothing End Sub
This is because your custom style set had no styles. Your original document, the one from which you made the [Quick] Style Set had many styles, just no [Quick] Styles. Then try applying any of the distributed [Quick] Style sets on the Design tab. The styles that are any of the twenty-five listed will change. Any styles based on them should change. By the way, you can Undo application of a style set. Last edited by Charles Kenyon; 02-08-2023 at 01:55 PM. |
#11
|
|||
|
|||
![]()
Word does not have the term "Quick Style Set"
It is not used on the domain Welcome Ed Bott didn't use such a term in Microsoft Office Inside Out:2013 Edition, published through MicroSoftPress. It seems to be your own creation despite no precedent from MicroSoft, Sarah Barnhill or anyone else. However, the term is used in a Youtube video for a different item. https://www.youtube.com/watch?v=liQFbLo9Cx0, which is also applied incorrectly. Even when Right Clicking on the style to add to the Gallery, it is "Add to Style Gallery" or through the modify style window, "Add to the Styles gallery" Style Sets are listed in the Design Ribbon. A Style Set can be selected. Hovering over a Style Set will give the name of the Style Set. If you open the Style Pane and show All Styles, it can be more apparent that even those styles not in the Styles Gallery change. Since most of MS styles are still similar, it can be more obvious if a Style is edited so the preview change is even more obvious. OR, you can remove ALL the Styles from the Gallery and then Change the Style Set on the Design Ribbon. Your statement indicates then that NOTHING will change because none of the Styles are in the Gallery. ![]() |
#12
|
|||
|
|||
![]()
Experiment, Part 2
This continues the experiment to see what styles are in what Microsoft calls a Style Set and I refer to as a [Quick] Style Set. It tests the assertion/hypothesis that the only styles are those set for display in the [Quick] Styles Gallery on the Home tab.
If you look in the Quick Styles Gallery, you will see your Blue 24pt Comic Sans style as available. Again, if a style is set to display in the Quick Styles Gallery (even if set to be hidden) when you create a Quick Style Set, it will be in the set. If it is not, it will not be. If you've performed these experiments you now have two useless Quick Style Sets. You can right-click on them in the designer tab and delete them. Last edited by Charles Kenyon; 02-08-2023 at 01:53 PM. |
#13
|
|||
|
|||
![]() Quote:
Did you read the quotation I posted from Faithe Wempen? The term Quick Styles originated with Microsoft, not me. Add and remove styles from the Quick Styles gallery - Microsoft Support Duck Duck Go Search Google Search Have you looked at the storage location for Style Sets? It is the QuickStyles folder. Did you try either of the experiments? Yes, the Styles Pane allows preview of Styles. It has since, I think, Word 2000. I usually keep this turned off but the dropdown still has it. Here is a link to my free Add-in that lets you add it to the QAT. This is confusing, I know, it took me years to figure it out. Here is a good blog: Behind the Curtain (II) - Styles, Doc Defaults, Style Sets, and Themes - Jonathan Bailor - blog - How do document defaults relate to the Normal style? How do Style Sets relate to Styles? How do Themes relate to Styles? - It is by one of the originators of the concepts and explains that the style sets only change styles in the Quick Styles Gallery. |
#14
|
|||
|
|||
![]()
"The term Quick Styles originated with Microsoft, not me.
Add and remove styles from the Quick Styles gallery - Microsoft Support" The term in Question is QUICK STYLES SET. Last edited by spillerbd; 02-08-2023 at 09:02 AM. Reason: spelling |
#15
|
|||
|
|||
![]()
I use the term [Quick] Styles Sets because it helps clarify that the only styles in a Style Set as that term is used by Microsoft are Qucik Styles. I did not coin the term but I certainly plan on using it. Likewise, I use the term [Quick] Styles Gallery to distinguish it from the Styles Pane and the Styles DropDown, both of which can show all the styles available.
Did you try either of the experiments? |
![]() |
Tags |
style galleries |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Ricyteach | Word VBA | 6 | 03-09-2015 07:11 PM |
![]() |
jmk59 | Word | 6 | 10-18-2014 04:46 AM |
![]() |
MrSnrub | Word | 4 | 06-19-2013 07:32 AM |
![]() |
veronius | Word | 6 | 06-18-2013 06:29 PM |
Word 2007 Windows OS: would like to create a custom underline style? | BredeBoston | Word | 0 | 11-08-2011 12:21 PM |