The reference does get created when I run this code
using POI 3.2.

Ulf


--- Gaurav Arora <[EMAIL PROTECTED]> wrote:

> Wondering if anyone has tried this ...
> 
> ------------------
> Regards,
> Gaurav Arora
> -----Original Message-----
> From: Gaurav Arora [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 03, 2008 6:40 PM
> To: [email protected]
> Subject: Unable to create references to cells
> 
> Hi,
> 
> I'm trying to run some code which ran perfectly fine
> with version 3.0 final.
> 
>  
> 
>             HSSFWorkbook wb = new HSSFWorkbook();
> 
>             HSSFSheet sheet =
wb.createSheet("sheet");
> 
>            
>
sheet.createRow(0).createCell(0).setCellValue("abcd");
> 
>             HSSFName name = wb.createName();
> 
>             name.setNameName("HOLAHOLAHOLAH");
> 
>             name.setReference("sheet!A1");
> 
>             FileOutputStream fileOut = new
> FileOutputStream("t.xls");
> 
>             wb.write(fileOut);
> 
>             fileOut.close();
> 
> For whatever reason, the named reference is created
> in POI 3.1 but not
> in POI 3.2. Did I miss a change in the changelog?
> And is the code not backward compatible at all?
> 



      

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to