S
Sardonic
I am currently writing a VBA routine to copy various pre-selected paragraphs
within document which are marked apart by tables and the start and end of a
section ie:
TABLE here
1st Para in section
2nd Para in section
3rd Para in section
Table here
1 Para in section
2 Para in section - and so on
I understand that paragraphs have an "index" number within a document. I
would like to know the "index" numbers of the starting/ending paras within a
grouping.
(eg paragraph(23) start, paragraph(25) end) This is so I can then copy those
paragraphs and pasting them to another document.
My imagined process to is navigate to the starting table then move down a
line - grab the paragraph's index value, then move to the next table and then
move up a line to grab the end paragraph's index value. But how do I grab
the paragraph's index number? Is there a simple Property I'm missing out on?
Paragraph.index ??
within document which are marked apart by tables and the start and end of a
section ie:
TABLE here
1st Para in section
2nd Para in section
3rd Para in section
Table here
1 Para in section
2 Para in section - and so on
I understand that paragraphs have an "index" number within a document. I
would like to know the "index" numbers of the starting/ending paras within a
grouping.
(eg paragraph(23) start, paragraph(25) end) This is so I can then copy those
paragraphs and pasting them to another document.
My imagined process to is navigate to the starting table then move down a
line - grab the paragraph's index value, then move to the next table and then
move up a line to grab the end paragraph's index value. But how do I grab
the paragraph's index number? Is there a simple Property I'm missing out on?
Paragraph.index ??