View Single Post
 
Old 10-27-2022, 02:31 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Instead of trying to do this with direct formatting, you should be modifying the underlying Styles. If you make those changes to a document template, they'll automatically apply to all new documents based on that template. Furthermore, having made those changes to the document template, all you'd need do to apply them to current documents is to check the 'Automatically update document styles' property in each of the applicable documents. No VBA code needed.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote