Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-15-2016, 03:17 PM
macropod's Avatar
macropod macropod is offline Word macro to change style between tags Windows 7 64bit Word macro to change style between tags Office 2010 32bit
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

Heading Styles are paragraph Styles, so applying them to paragraphs containing your nominated text means the whole paragraph gets formatted that way; it's unavoidable. As for changing the font, you really should be doing that by changing the Style definition. Furthermore, you don't even need a macro for this - a simple Find/Replace would do.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word macro to change style between tags Tab character causes style change to Heading 4 after macro Jennifer Murphy Word VBA 2 12-14-2015 02:31 AM
Word macro to change style between tags Style affecting other paragraphs around the word I'm trying to change. Bahamut5098 Word 2 03-02-2015 01:42 PM
Find instance of a word in a specific style and change its color hwg Word VBA 7 02-20-2014 10:59 PM
Word macro to change style between tags Macro to change style name with " in it gundas Word VBA 3 04-02-2013 06:20 AM
Word macro to change style between tags How to globally change the formatting of a bullet style to another style? ravl13 Word 5 03-10-2013 05:04 PM

Other Forums: Access Forums

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