Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 02-15-2019, 10:27 PM
Guessed's Avatar
Guessed Guessed is offline Why are style updates in VBA not reflected in the document? Windows 10 Why are style updates in VBA not reflected in the document? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I would presume it doesn't work for you because the font name has been locally overridden on your instances of that style. Certainly the following works for me if there is no local font formatting.
Code:
Sub ChangeStyleDef()
  ActiveDocument.Styles("Normal").Font.Name = "Times New Roman"
End Sub
If that fails on your document, does adding a font reset resolve that particular issue?
ActiveDocument.Range.Font.Reset
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I stop automatic style updates for Word 2013 Lupe71903 Word 2 02-27-2018 01:48 PM
Why are style updates in VBA not reflected in the document? A mystery: how to hop about in a document, inserting updates in a single, new font? markh10178 Word 3 11-26-2015 04:07 PM
Why are style updates in VBA not reflected in the document? Updates tries to install Office 2010 updates which I don't use jlumbtx Office 1 03-13-2015 04:50 PM
Why are style updates in VBA not reflected in the document? Use multiple style sets in the same Word document (depending on which section the style is in) Ricyteach Word VBA 6 03-09-2015 07:11 PM
Automating document updates with new text wordfoolish2 Word 0 01-04-2011 01:01 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:08 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