ok, here is the basic macro i'm using. i've identified 1200 unique word combinations that will indicate a german noun's gender. in this array there are only 3 items, but in the ideal array there will be 1200
here is what it looks like
https://docs.google.com/document/pub?id=1t6tYt_LfprKyYfN9SG0AoTn6SM2wyjEdLREn6Ki2sxc
but it's not working. i think i'm just going to have to divide it up into 10 sections but if you know of a different way then please let me know.
findArray = array(" mit der "," mit den "," mit dem ")
replArray = array(" mitder"," mitden"," mitdem")
for i =0 to ubound(findArray)
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = findArray(i)
.Replacement.Text = replArray(i)
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
next i