Hi,
Is it possible to format paragraph where font size is greater than set value. e.g. set value = 15 and code changing paragraph where font size = 20 or 25 or 50... but not change paragraphs where font size = 14 or 9...
Sub xml_test() ' ' xml_test ' ' Selection.Find.ClearFormatting With Selection.Find.Font .Size = 15 .bold = False .Italic = False End With With Selection.Find.ParagraphFormat .Alignment = wdAlignParagraphJustify End With Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "" .Replacement.Text = "<Title>^&</Title>" .Forward = True .Wrap = wdFindContinue .Format = True End With Selection.Find.Execute Replace:=wdReplaceAll End Sub