Try changing it to the following$Sheet->Range("H$lastrow4")->{Formula} = '=sum("H17:H.$Lastrow3")';
$Sheet->Range("H$lastrow4")->{Formula} = '=sum("H17:H.'.$Lastrow3.'")' +;
In reply to Re: Help with formula in excel
by olus
in thread Help with formula in excel
by padawan_linuxero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |