public void ChangeToRestOfDocument(ref Word.Range aRunRange, out SearchAreaType eType) { // i.e. rest of the document eType = SearchAreaType.eWholeDocument; // we only really want to make the End = end of the document, but querying the end of the document // is a very expensive call, so save the current start, call 'WholeStory' (which is inexpensive, but // selects the whole document), and then reset the original start SearchAreaStart = aRunRange.Start; aRunRange.WholeStory(); aRunRange.Start = SearchAreaStart; }