Thread: [Solved] find and replace with format
View Single Post
 
Old 08-02-2022, 02:14 PM
Souriane Souriane is offline Windows 10 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