I am trying to use a Word macro to find and replace some text. Part of my original text is in italics (Our Notebook), and I want the replacement text to instead enclose those italicized words in quotation marks ("Our Notebook") and remove the italics. My 'bad' code is show below. Is there a simple fix for this?
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "From Our Notebook"
.Replacement.Text = "From "Our NoteBook""
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With