is there a function that I can insert that will count the # of rows containing data, counting downward until finding a blank row?
im using a vba script that builds the data and I i could insert somekind of function if there is one (perhaps?)
the data looks like this
[TABLE="width: 83"]
<colgroup><col></colgroup><tbody>[TR]
[TD]Article ID[/TD]
[/TR]
[TR]
[TD]Blank[/TD]
[/TR]
[TR]
[TD]4018073[/TD]
[/TR]
[TR]
[TD]4057115[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
[TR]
[TD]Blank[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
[TR]
[TD]Blank[/TD]
[/TR]
[TR]
[TD]4018073[/TD]
[/TR]
[TR]
[TD]4057115[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
[TR]
[TD]Blank[/TD]
[/TR]
[TR]
[TD]4018073[/TD]
[/TR]
[TR]
[TD]4057115[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 83"]
<colgroup><col></colgroup><tbody>[TR]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
When done
[TABLE="width: 83"]
<tbody>[TR]
[TD]Article ID[/TD]
[/TR]
[TR]
[TD]6 [/TD]
[/TR]
[TR]
[TD]4018073[/TD]
[/TR]
[TR]
[TD]4057115[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
[TR]
[TD]4 [/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
[TR]
[TD]6[/TD]
[/TR]
[TR]
[TD]4018073[/TD]
[/TR]
[TR]
[TD]4057115[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
[TR]
[TD]6[/TD]
[/TR]
[TR]
[TD]4018073[/TD]
[/TR]
[TR]
[TD]4057115[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 83"]
<colgroup><col></colgroup><tbody>[TR]
[/TR]
</tbody>[/TABLE]
im using a vba script that builds the data and I i could insert somekind of function if there is one (perhaps?)
the data looks like this
[TABLE="width: 83"]
<colgroup><col></colgroup><tbody>[TR]
[TD]Article ID[/TD]
[/TR]
[TR]
[TD]Blank[/TD]
[/TR]
[TR]
[TD]4018073[/TD]
[/TR]
[TR]
[TD]4057115[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
[TR]
[TD]Blank[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
[TR]
[TD]Blank[/TD]
[/TR]
[TR]
[TD]4018073[/TD]
[/TR]
[TR]
[TD]4057115[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
[TR]
[TD]Blank[/TD]
[/TR]
[TR]
[TD]4018073[/TD]
[/TR]
[TR]
[TD]4057115[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 83"]
<colgroup><col></colgroup><tbody>[TR]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
When done
[TABLE="width: 83"]
<tbody>[TR]
[TD]Article ID[/TD]
[/TR]
[TR]
[TD]6 [/TD]
[/TR]
[TR]
[TD]4018073[/TD]
[/TR]
[TR]
[TD]4057115[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
[TR]
[TD]4 [/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
[TR]
[TD]6[/TD]
[/TR]
[TR]
[TD]4018073[/TD]
[/TR]
[TR]
[TD]4057115[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
[TR]
[TD]6[/TD]
[/TR]
[TR]
[TD]4018073[/TD]
[/TR]
[TR]
[TD]4057115[/TD]
[/TR]
[TR]
[TD]4474419[/TD]
[/TR]
[TR]
[TD]4512486[/TD]
[/TR]
[TR]
[TD]4516033[/TD]
[/TR]
[TR]
[TD]4516065[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 83"]
<colgroup><col></colgroup><tbody>[TR]
[/TR]
</tbody>[/TABLE]