Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 10-27-2020, 03:16 PM
John 4 John 4 is offline Applying heading styles from normal template to all files in a folder Windows 10 Applying heading styles from normal template to all files in a folder Office 2013
Advanced Beginner
Applying heading styles from normal template to all files in a folder
 
Join Date: Oct 2019
Posts: 68
John 4 is on a distinguished road
Default

Thanks Paul,
Quote:
Your other post (and reply) have not been deleted. Someone split them to a separate thread:
I don't mean any offence, but a note should really have been left letting me know that. I don't see that the thread should have been split; it was a continuation of the previous posts and was VBA related (and still is, as we see from Charles' provision of relevant VBA codes in the other/new thread). Splitting a thread just because a not-strictly-VBA subject is mentioned doesn't appear to help matters. Should they be rejoined now that Charles has provided VBA codes?

Quote:
You cannot delete any of Word's built-in Styles. Hence they will always be present in the Gallery. You can, of course, change their Gallery priority.
I pretty much figured that in the meantime, however I assumed there must be some kind of glitch in my case otherwise someone (I reasoned) would certainly have mentioned it when I was being given the various methods/codes/macros/Add-ins. I thought it was clear I was trying to apply new styles settings to old documents - why would I want to apply the changes to "All files in a folder" if the files weren't old?

So the priority settings in the old documents remains and overrides my attempts to copy all-new settings. There's no problem with new documents.

I assume applying one of the two codes given me by Charles in the other thread will solve that part of the problem:
Code:
activedocument.Styles("Normal").Priority = 99
activedocument.Styles("Normal").QuickStyle=False
Thanks for your help once again.

Now to try and understand templates and list templates...
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Applying heading styles from normal template to all files in a folder Normal.dot Relationship of document and template. Durability of Styles when doc sent. crw1@y7mail.com Word 6 07-29-2020 03:08 PM
Keeping or restoring "Start at" value for heading list after updating styles from a template WordUser789 Word VBA 9 04-15-2019 12:16 AM
Styles and not applying correctly GinnyBcore Word 1 10-02-2018 03:18 PM
Applying a new theme to a new template in 2016 moves graphics in the template around dianahbr PowerPoint 0 02-27-2018 11:04 AM
Applying heading styles from normal template to all files in a folder Movable Word template with linked files and hidden folder Elmobram22 Word 6 11-15-2013 02:11 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:58 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft