PDA

View Full Version : Quickly Finding Paras with particular attributes



MWE
07-24-2008, 05:56 PM
I have written some VBA code to find paragraphs with particular attributes. For example, all paragraphs in a selection that have comments, or, more specifically paragraphs with ranges that have comments where the initials property is XYZ. Using a For loop and going through every para in the doc works, but that is quite slow. Is there a way to use the Find method for this type of problem?

Thanks

macropod
07-25-2008, 01:31 AM
Hi MWE,

You could try specifying the 'Comment Text' Style as one of the Find parameters.

OTWarrior
07-25-2008, 02:22 AM
Would you kindly post your code, I am curious as to how that works :)