Hi all!
I want to loop through the paragraphs in a document and count the occurences of each paragraph style that is in the document. If for instance the style "Normal" has 5 paragraph occcurences it should count all 5.
I guess I have to put each new paragraph i find in some kind of array and then add 1 in a datafield each time I find a new occurence of that paragraph. Is that right?
How is the best way to do this? And how would some code look like? (Im not used to work with arrays in VB)
In advance, thanks
Pål Nesteby
PDC-Tangen
Norway
I want to loop through the paragraphs in a document and count the occurences of each paragraph style that is in the document. If for instance the style "Normal" has 5 paragraph occcurences it should count all 5.
I guess I have to put each new paragraph i find in some kind of array and then add 1 in a datafield each time I find a new occurence of that paragraph. Is that right?
How is the best way to do this? And how would some code look like? (Im not used to work with arrays in VB)
In advance, thanks
Pål Nesteby
PDC-Tangen
Norway