View Single Post
 
Old 10-27-2020, 07:25 AM
Charles Kenyon Charles Kenyon is offline Windows 10 Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,584
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Quote:
Originally Posted by John 4 View Post
I've tried the Organiser method (including pressing the button 3 times); both one line codes that Charles gave me; I used the Global stylesheet Addin; I used Macropod's "StyleCopier"; and I've tried messing around with various different settings - deleting or hiding unwanted styles and re-prioritising the Styles. But despite it all - one or more of 3 styles ("No-spacing", "Normal", and "underline") keep turning up in the Gallery.

***
How do i get rid of the 3 mentioned problem styles? Or does a further macro have to be written that searches the first 9 styles, and removes them if they're not heading styles?

Thanks for your help.

You cannot get rid of the No-Spacing or Normal built-in styles. You can change their priority so that they do not show up on the first screen of your Quick Styles Gallery. You can even remove them from the Gallery altogether. However, they are a part of Word.
Code:
activedocument.Styles("Normal").Priority = 99
activedocument.Styles("Normal").QuickStyle=False
As for the "Underline" style, I have no idea where that is coming from. You should be able to delete it. If you want us to take a look at it, post a sample document with the problem. How to attach a screenshot or file in this forum.

See Managing Word Styles by Suzanne Barnhill, MVP. In particular look at the part about Customizing the Quick Styles Gallery.

Quote:
Originally Posted by John 4 View Post
***
I'm also finding the entire "Templates" subject annoyingly confusing (what is and isn't a template; and their locations it seems could be one [or more] of about 30 different [obscure] places when you take the various versions of Word into account).

***
You are not the first person to find templates annoying. IMO, Microsoft has deprecated the use of custom templates over the years, thinking that they confuse beginners. I think them to be an invaluable tool and wish MS would do more to teach those beginners how to make use of them.

A while back I spent a lot of time writing a web page on the subject which I've tried to keep up to date. I would hope that my page covers any questions you have on that subject.
Templates in Microsoft Word
It covers personal document templates, workgroup (document) templates, global templates and the normal template.
That page does not include "list templates" which are an entirely different sort of animal.


See also: File New Variations in the Versions of Word
Reply With Quote