G
George B
Running Word 2000, I have a document with perhaps a half dozen paragraphs,
with two tables interspersed among the paragraphs. If I have a loop:
For Each p in ActiveDocument.Paragraphs
I cycle through all paragraphs, both inside and outside the tables. I can
also:
For Each t in ActiveDocument.Tables
and cycle through the tables. Is there some property which tells me where
the tables occur among the top-level paragraphs? How do I refer to the
paragraph before a table?
I am trying to write a customized conversion of all tables to text. I am
successfully accessing the cells of the table and generating the replacement
text, but have not been able to generate a new paragraph to store the new
text.
with two tables interspersed among the paragraphs. If I have a loop:
For Each p in ActiveDocument.Paragraphs
I cycle through all paragraphs, both inside and outside the tables. I can
also:
For Each t in ActiveDocument.Tables
and cycle through the tables. Is there some property which tells me where
the tables occur among the top-level paragraphs? How do I refer to the
paragraph before a table?
I am trying to write a customized conversion of all tables to text. I am
successfully accessing the cells of the table and generating the replacement
text, but have not been able to generate a new paragraph to store the new
text.