F
frogman
Why doesn't the <> or the =not(wdColorRed) work
'find and replace the the hidden text with double lined text
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = True
.Font.Color <> wdColorRed
.Font.Italic = False
.Font.Hidden = True
.Replacement.Font.Hidden = False
.Replacement.Font.DoubleStrikeThrough = True
End With
Selection.Find.Execute Replace:=wdReplaceAll
'find and replace the the hidden text with double lined text
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = ""
.Replacement.Text = ""
.Forward = True
.Wrap = wdFindContinue
.Format = True
.Font.Color <> wdColorRed
.Font.Italic = False
.Font.Hidden = True
.Replacement.Font.Hidden = False
.Replacement.Font.DoubleStrikeThrough = True
End With
Selection.Find.Execute Replace:=wdReplaceAll