Sub Trados_PaintSegments() ' Paint source text in Dark Blue Call PS_Trados_MarkSource Call PS_Trados_PaintSource ' Paint fuzzies in Magenta Call PS_Trados_MarkFuzzies Call PS_Trados_PaintFuzzies 'Paint matches in Green Call PS_Trados_MarkMatches Call PS_Trados_PaintMatches End Sub Sub PS_Trados_MarkSource() ' ' Trados_MarkSource Macro ' Macro recorded 27/Jul/05 by / ' Selection.HomeKey Unit:=wdLine Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "(\{0\>)(*)(\<\})" .Replacement.Text = "\1@@@\2@@@\3" .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = True End With Selection.Find.Execute Replace:=wdReplaceAll End Sub Sub PS_Trados_PaintSource() ' ' Trados_PaintSource Macro ' Macro recorded 27/Jul/05 by / ' Selection.HomeKey Unit:=wdStory Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting Selection.Find.Replacement.Font.Color = wdColorDarkBlue With Selection.Find .Text = "(\@\@\@)(*)(\@\@\@)" .Replacement.Text = "\2" .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = True End With Selection.Find.Execute Replace:=wdReplaceAll End Sub Sub PS_Trados_MarkFuzzies() ' ' Trados_MarkFuzzies Macro ' Macro recorded 27/Jul/05 by / ' Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "(\{\>)(*)(\<0\})" .Replacement.Text = "\1@@@\2@@@\3" .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = True End With Selection.Find.Execute Replace:=wdReplaceAll End Sub Sub PS_Trados_PaintFuzzies() ' ' Trados_PaintFuzzies Macro ' Macro recorded 27/Jul/05 by / ' Selection.HomeKey Unit:=wdStory Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting Selection.Find.Replacement.Font.Color = wdColorPink With Selection.Find .Text = "(\@\@\@)(*)(\@\@\@)" .Replacement.Text = "\2" .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = True End With Selection.Find.Execute Replace:=wdReplaceAll End Sub Sub PS_Trados_MarkMatches() ' ' Trados_MarkFuzzies Macro ' Macro recorded 27/Jul/05 by / ' Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "(100\{\>)(*)(\<0\})" .Replacement.Text = "\1@@@\2@@@\3" .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = True End With Selection.Find.Execute Replace:=wdReplaceAll End Sub Sub PS_Trados_PaintMatches() ' ' Trados_PaintFuzzies Macro ' Macro recorded 27/Jul/05 by / ' Selection.HomeKey Unit:=wdStory Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting Selection.Find.Replacement.Font.Color = wdColorGreen With Selection.Find .Text = "(\@\@\@)(*)(\@\@\@)" .Replacement.Text = "\2" .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = True End With Selection.Find.Execute Replace:=wdReplaceAll End Sub