ROW() is in fact implemented.
You may be missing a call to 
   HSSFFormulaEvaluator.setCurrentRow(..)
...however. See below:

>   formulaEvaluator = new HSSFFormulaEvaluator(sheet, wb);
>>>>formulaEvaluator.setCurrentRow(row);
>   formulaEvaluator.evaluate(cell);


If that does not help, could you post some
more code?

Regards,
~ amol




> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 20, 2005 11:08 AM
> To: [email protected]
> Subject: ROW function in 3.0-alpha1
> 
> 
> 
> 
> I have in my XL-sheet formula the follwoing code : 
> =ROW()
> which evaluates the to the current row of the cell.
> the following call returns a NullpointerException :
> 
> [code]
>   formulaEvaluator = new HSSFFormulaEvaluator(sheet, wb);
>   formulaEvaluator.evaluate(cell);
> [code]
> 
> I believe it has not yet been implemented has the XL showing 
> the Test cases does not contain
> anything like that.
> 
> \T,
> 
> --
> Any fool can write code that a computer can understand. 
> Good programmers write code that humans can understand.
>                                                    Martin Fowler 
> T. : +32 (0)2 742 05 94
> M. : +32 (0)497 44 68 12
> @  : [EMAIL PROTECTED]
> Do you skype too ... ?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to