N
nikkiLR
Hi,
I'm looping through the paragraphs in a document (i.e. For Each myPara In
ActiveDocument.Paragraphs) and looking at the style, length of paragraph and
a number of other things. The trouble I'm having is when two paragraphs are
separated by a page break rather than a paragraph mark: then VBA recognises
it as only one paragraph.
Is this "expected" behaviour? I assume that it's a case of my understanding
of a page break being different to Word's. And does anyone know of a
(preferably) quick and easy way to overcome this so that VBA recognises it as
two paragraphs? I could go through and insert a paragraph mark with each page
break but I wondered if there was a more elegant solution out there...
Many thanks in advance for any help.
Nikki
I'm looping through the paragraphs in a document (i.e. For Each myPara In
ActiveDocument.Paragraphs) and looking at the style, length of paragraph and
a number of other things. The trouble I'm having is when two paragraphs are
separated by a page break rather than a paragraph mark: then VBA recognises
it as only one paragraph.
Is this "expected" behaviour? I assume that it's a case of my understanding
of a page break being different to Word's. And does anyone know of a
(preferably) quick and easy way to overcome this so that VBA recognises it as
two paragraphs? I could go through and insert a paragraph mark with each page
break but I wondered if there was a more elegant solution out there...
Many thanks in advance for any help.
Nikki