I see your point, Greg, although I'm not VBA-fluent enough to have seen the difference. I just wanted a pre-count and the paragraph loop code was already written, so I grabbed it. But why is his code so much faster? You never know how big a document is going to be and if it takes minutes to achieve the same results that can be had in seconds, why not strive for that kind of speed?
By the way, thanks for the rewrite.
|