[]
Gets the totals row range of the table.
Returns the IRange that represents the totals row of this ITable when the totals row is visible.
IRange TotalsRange { get; }
ReadOnly Property TotalsRange As IRange
worksheet.Range["A1:B3"].Value = new object[,] {
{"Product", "Amount"},
{"Apple", 100},
{"Orange", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
table.ShowTotals = true;
IRange totalsRange = table.TotalsRange;