I have the following data.
col1 col2
AA 10
BB 20
CC 30

and the total for the above is 60 (for col2).

I am using a table to declare like this
Set Tbl1 = objApp.ActiveDocument.Tables.Add(Range:=Selection.Range, _
NumRows:=50, NumColumns:=2)
therefore the minimum is 50 lines. The problem I have is the maximum of lines could be 500 or even 1. And I would put the total of lines after the table.
Could any one tell me how I could have a flexible number of lines table.
(Could it be possible to have ONLY one row by creating a table for every row!?)
Thanks.