E
Ed
I have reports which reference technical documents scattered in no
easily-used pattern over many tables (150-200 references in 20-35 tables is
typical). Every now and then (like yesterday and today!), I get to take a
list (a Word table) of all the document numbers and make sure they are the
same as what's in the report.
So I'm trying to set up a macro that will loop through my comprehensive
table and check the report to see if that text string is found. I'm having
difficulty setting up the loop conditions, though. The text string, if it
is found, must be the only text in a cell in Column 1 of a table to be a
valid match for my purposes. If it doesn't meet all this, then I need to
Find Next until the whole document is searched and it is or is not found.
Then I increment down the comprehensive table to find the next text string
and do it all over again.
I can get my mind around almost all of it except the loop conditions. Can
someone point me in the right directions?
TIA
Ed
easily-used pattern over many tables (150-200 references in 20-35 tables is
typical). Every now and then (like yesterday and today!), I get to take a
list (a Word table) of all the document numbers and make sure they are the
same as what's in the report.
So I'm trying to set up a macro that will loop through my comprehensive
table and check the report to see if that text string is found. I'm having
difficulty setting up the loop conditions, though. The text string, if it
is found, must be the only text in a cell in Column 1 of a table to be a
valid match for my purposes. If it doesn't meet all this, then I need to
Find Next until the whole document is searched and it is or is not found.
Then I increment down the comprehensive table to find the next text string
and do it all over again.
I can get my mind around almost all of it except the loop conditions. Can
someone point me in the right directions?
TIA
Ed