I am having difficulty with finding all occurrences of a magic string in MS Word doc using Interop - Word.Range - searchArea.Find.Execute().
// Basic concept
Word.Range searchArea = Application.ActiveDocument;
if (searchArea.Find.Found) then
searchArea.Start = narrow the search area as needed
searchArea.End = end of the document
search next occurrence
// End of story
When the magic word is located and found in a table, the next search recognizes the occurrence already found as if searching to the left.
It looks like this anomalous behavior occurs if the searchArea.Start index is anywhere between the end of the (previous) magic word and the end of the table row.
When I move the searchArea.Start index one row down everything gets back to normal.
How can I safely search Forward within MS Word table ?