B
Budget Programmer
I have a lot of experience with Excel VBA, but don't know much about Word
VBA. Here's what I'd like to do:
Find a occurance of a text string "Data Filter Requirements" after the table
of contents. (If I have to find the second occurance of it, that's fine).
After that text, there are a variable number of tables. Within each table,
I'd like to:
Find the text in the second column of each row "No Filter Required". That
string is always the last line of the cell. If the checkbox just to the left
of, and on the same last line as, that string within the cell is checked,
then do nothing and go to the next row. If there's something there, copy
everything else in the cell (except for that last line) to an Excel
spreadsheet where I'll deal with it later.
I'd like to loop through every row (variable number of rows) in every table
(variable number of tables). I'd appreciate any help you could give.
I just don't know how to search for a table, determine how many rows there
are, how many tables there are, find a checkbox, select only the last line of
text in a cell, etc.
Many Thanks.
VBA. Here's what I'd like to do:
Find a occurance of a text string "Data Filter Requirements" after the table
of contents. (If I have to find the second occurance of it, that's fine).
After that text, there are a variable number of tables. Within each table,
I'd like to:
Find the text in the second column of each row "No Filter Required". That
string is always the last line of the cell. If the checkbox just to the left
of, and on the same last line as, that string within the cell is checked,
then do nothing and go to the next row. If there's something there, copy
everything else in the cell (except for that last line) to an Excel
spreadsheet where I'll deal with it later.
I'd like to loop through every row (variable number of rows) in every table
(variable number of tables). I'd appreciate any help you could give.
I just don't know how to search for a table, determine how many rows there
are, how many tables there are, find a checkbox, select only the last line of
text in a cell, etc.
Many Thanks.