Thank you. I just had to change a tiny assembly language program and it was a lot easier to decipher than these objects!
If I had word files and need to search for bold, etc, why does the search I used below not find the search term?
Code:
With Selection.Find
.ClearFormatting
.Text = "first"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
If Selection.Find.Execute Then
Print #DestFileNum, wdDoc.Name
End If