Hi Dave,
certainly there are several ways,
and there is nothing wrong with your solution.
But being involved with tagging for more than a decade,
I bet, after searching for italics,
we might soon read a question for tagging
bold, italic, underlined, subscript characters.
Therefore, I'd only remove the formating
which was in question.
Sub test09947()
Dim rTmp As Range
Set rTmp = ActiveDocument.Range
With rTmp.Find
.Font.Italic = True
While .Execute
rTmp.Font.Italic = False
rTmp.InsertBefore "<i>"
rTmp.InsertAfter "</i>"
rTmp.Start = rTmp.End
rTmp.End = ActiveDocument.Range.End
Wend
End With
End Sub
--
Greetings from Bavaria, Germany
Helmut Weber, MVP WordVBA
Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"