Function (SUM) not beeing extended on inserting new rows

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
MLG
Posts: 5
Joined: Thu Jan 31, 2013 8:49 am

Function (SUM) not beeing extended on inserting new rows

Post by MLG »

Hello,
I'm using Version 4.00.58.
e.g.: I have a function SUM(A2:A5) in an existing Sheet. I then try to insert a new row between A2 and A5. I expect the Function to extend the range to SUM(A2:A6) automatically, but that doesn't happen. The function remains the same, no matter at what position I insert a new row.
When I open the file in Excel and manually add a row, the range gets updated. Can't this be achieved through your component?


Thanks for your response,
Michele
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Function (SUM) not beeing extended on inserting new rows

Post by larsa »

Hello

Use MoveCells instead and you have options on how cells are adjusted.
Lars Arvidsson, Axolot Data
MLG
Posts: 5
Joined: Thu Jan 31, 2013 8:49 am

Re: Function (SUM) not beeing extended on inserting new rows

Post by MLG »

Thank you, I'll try that then
Post Reply