Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 01-29-2020, 01:05 AM
macropod's Avatar
macropod macropod is offline Find and replace issue Windows 7 64bit Find and replace issue 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

If you don't want some replaced terms to be replaced by later F/R operations, then you need to ensure the order of the various F/R expressions are listed in the correct order.

If you only want to process whatever is selected, change:
With ActiveDocument.Range.Find
to:
With Selection.Range.Find

If you only want to process a particular font (Arial), change:
.Format = False
to:
.Format = True
.Font.Name = "Arial"
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
find, font, replace all

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and replace issue Find and replace issue nrsmd Word 3 06-05-2015 03:20 PM
Find and replace issue Issue with Find/Replace with Notes cheech1981 Word 3 08-31-2013 11:22 PM
Find and replace issue Find and Replace Format macro issue Jack Word VBA 2 12-12-2012 09:24 PM
Find and replace issue Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM
Find & Replace Insert Issue mipacker Word 0 02-18-2009 08:59 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:19 AM.


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