for my $line (0..$row_count) { #this arguments are row, column, formula, format, first cell, sec +ond cell $xWS5->repeat_formula($line, 6, [...]
I didn't try the code, but I think this 0-based $line should be made 1-based, no? WriteExcel rows are 1-based.
UPDATE: ah, I stand corrected. WriteExcel rows are indeed 0-based. I did not carefully enough parse '1-based' from the this bit of documentation:
Row-column notation uses a zero based index for both row and column while A1 notation uses the standard Excel alphanumeric sequence of column letter and 1-based row.
In reply to Re: Missing first row with formula
by erix
in thread Missing first row with formula
by PerlSufi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |