Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-02-2022, 02:14 PM
Souriane Souriane is offline find and replace with format Windows 10 find and replace with format Office 2019
Advanced Beginner
 
Join Date: Feb 2017
Location: Quebec, Canada
Posts: 82
Souriane is on a distinguished road
Default

Your code work just fine. There is only this line missing :

Code:
Selection.Find.Replacement.Font.Italic = True
under
Code:
Selection.Find.Replacement.Highlight = True
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
find and replace with format find/replace date format improvement? LQuinn Word VBA 2 05-14-2021 11:15 PM
Find/Replace using format of cell catflap Excel 1 09-11-2017 07:28 AM
find and replace with format Find and Replace maintain format winningson Word 3 01-19-2013 05:38 AM
find and replace with format Find and Replace Format macro issue Jack Word VBA 2 12-12-2012 09:24 PM
find and replace with format Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM

Other Forums: Access Forums

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