Quote Originally Posted by Frosty
2. Easiest way to "lose" the trailing page break... great question. The answer is conceptual (especially since I don't have any code to look at). You have a function which returns your activity range, for the purposes of doing something (.cut, .copy, rngInsertWhereInNewDoc.FormattedText = rngActivity.FormattedText), right?

That is where you should adjust it. Return the range you actually want to use from within the function that has that "job." If you've encapsulated properly... nothing else should really matter too much.

So as for what to do with the trailing page break... you don't really need to delete it, since you don't really care about the source document (or the copy of the source document)... you just need a way of telling your loop to skip any page breaks it finds... which you do by adjusting the new search range.

Changing a 1 character jump to a 2 character jump (or whatever is necessary) shouldn't be too hard, right?
How's that, again? When I Find for a ^m, my code needs first to jump back one, to exclude the ^m from the selected Activity; after that, it can jump forward 2 so it leaves that ^m excluded while we find the next Activity.

Quote Originally Posted by Frosty
That said, since I think you're using the .Cut methodology, it's not hard to simply delete the one character left after the .Cut, if that's the way you need to articulate searching through the document.
Initially, I misapprehended that I needed to move the Activity from my docScrap to docNew, hence, my use of .Cut. Now, I see that I don't need it since the code is implicitly pasting the Activity. And, I don't need to "empty" docScrap, all I need to do is .Paste the next Activity into it for my manipulating it. And, with a little extra thought I may be able to dump using docScrap and go straight from rngActivity to docNew.

Well, time for me to work on a job application that's due by 11:59 pm, tonight. I'll get back on this topic when that's done or first thing in the AM.

Thanks, again!