As an example, the pivottable and charts are on sheet 1 and all the data will be in sheet 2. The data consists of 2 columns name and value, has initially 2 rows (so we can place range and some example data) and some formula's below it (in this case a simple sum). We then insert thousands of lines and that part works with Sheet[sheet].InsertRows(row,count) etc or xls.InsertRows(sheet,row,count)). However the range isn't adjusted (it is not extended). Do i use the wrong insertdata or is there another trick to accomplish this? Or does TXLSReadWriteII5 not support any of this
Code: Select all
name value
a 2
b 4
=SUM(B2:B3)
Thanks,
Marius
(A happy owner of good old version 4)