"Orin Hargraves" <EMAIL REMOVED> wrote
> Sorry to be vague. My complete "for each" statement is
>
> For Each aPara In ActiveDocument.Paragraphs
>
> Which iterates a number of editing functions in each record in the
> open text file (the records corresponding to paragraphs as far as Word
> is concerned). The
>
> Next aPara
>
> statement at the end causes the looping; but I want the loop to stop
> at the end of the file, not start over again at the top and do it all
> again.
Is that what happens? I don't work with Word like that, but I often
use the For/Each methods. For/Each is designed to loop through the
entire contents 1 time, in every application I have seen it. If you find
it is going back to the top (without you telling it to) then that implementation
is far different than every other example I have seen. Double check your
code (step through it using F8) to be sure you don't accidentally tell it
to start over somewhere....
LFS
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----