Hi

 I am reading the macros from the template

                case1:


            BufferedOutputStream os = new BufferedOutputStream( file );
            reader = new FileInputStream("E:\\PERSONL.XLS"); //(macros)
            POIFSFileSystem fileSystem = new   POIFSFileSystem(reader);
            _workbook = new HSSFWorkbook(fileSystem);
             Adding ..... rows    
             _workbook.write(os );  

           When i open the excel I am not able to see any data's.
            
                case2:

            BufferedOutputStream os = new BufferedOutputStream( file );
            _workbook = new HSSFWorkbook();
             Adding ..... rows    
             _workbook.write(os );  

            In this case i am able to see the data's..

Kind Regards
Ramesh

 

 

-----Original Message-----
From: KHZ (SAW) [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 4. August 2005 17:27
To: 'POI Users List'
Subject: AW: macros 


Hi Ramesh.

Do you really need dynamically built macros?

Using a template, filling it and saving the result to another file is
normally sufficient.

Regards,        Karl-Heinz.


-----Ursprüngliche Nachricht-----
Von: Ramesh Devaraj [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 4. August 2005 17:20
An: [email protected]
Betreff: macros 

Hi

 Any idea of copying the macros at runtime to excel file

Kind Regards
Ramesh

---------------------------------------------------------------------
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/



---------------------------------------------------------------------
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