J
JuanManuel
I’m working on a small project to incorporate some vba functionality to a
template in Microsoft Word. It is a fairly long template (over 30 pages) with
extensive use of tables. We would like to be able to collapse and expand rows
as needed, so that the printed document only shows what is really relevant.
I have found VBA code that seems to be useful in achieving this collapsing
and expanding of rows or lines of text, except that I’ll need a function or
set of functions that would enable me to refer to each table in the document
and count the number of rows in each of them. I also need a way to refer to
each and ever paragraph in the template and count the number of lines in
each. How can I do this?
Thank you
template in Microsoft Word. It is a fairly long template (over 30 pages) with
extensive use of tables. We would like to be able to collapse and expand rows
as needed, so that the printed document only shows what is really relevant.
I have found VBA code that seems to be useful in achieving this collapsing
and expanding of rows or lines of text, except that I’ll need a function or
set of functions that would enable me to refer to each table in the document
and count the number of rows in each of them. I also need a way to refer to
each and ever paragraph in the template and count the number of lines in
each. How can I do this?
Thank you