When youi reference a paragraph using ...
(Container).Paragraphs(i)
Word has to start at the beginning and count through the paragraphs until it
gets to the i'th one. The higher i, the longer it takes.
What you are doing *is* a lot of work (checking 25 million paragraphs) and I
don't know enough of your circumstances to suggest how you might reduce that
amount but you may find it a little better if you change the way of
referencing the paragraphs ...
For Each Pi in ActiveDocument.Paragraphs
If Pi.Range.End < ActiveDocument.Range.End Then
For Each Pj In ActiveDocument.Range(Pi.Range.End,
ActiveDocument.Range.End).Paragraphs
' Do your stuff ...
Next Pj
End If
Next Pi
(untested)

Signature
Enjoy,
Tony
> Hi,
>
[quoted text clipped - 32 lines]
> thanks for your help,
> -SJ
SirCodesALot - 31 Oct 2007 16:22 GMT
On Oct 30, 3:41 pm, "Tony Jollans" <My forename at my surname dot com>
wrote:
> When youi reference a paragraph using ...
>
[quoted text clipped - 61 lines]
>
> - Show quoted text -
Tony,
Thank you for your response, I didnt know that it did that. I
appreciate you example and that should help me speed it up, i will
give it a shot!
thanks again,
-SJ