Re: problem with macro in xls file

2010-10-06 Thread Shayesteh Alavi
Hi, I solve my problem I used workbook.getBytes() method, this method do not save macro in xls file. instead I use ByteArrayOutputStream class for saving outout file Thanks for your attention On Sat, Oct 2, 2010 at 12:23 PM, Shayesteh Alavi wrote: > I appreciate if anyone can help me to solve m

Re: problem with macro in xls file

2010-10-02 Thread Shayesteh Alavi
I appreciate if anyone can help me to solve my problem, its really emergency Thank you On Wed, Sep 29, 2010 at 9:28 AM, Shayesteh Alavi wrote: > > Thanks for reply > I attach both xls files(template file with macro(40K) and output file > edited with POI(20K)) > (OS is winXP) > > > > On Tue, Sep

Re: problem with macro in xls file

2010-09-28 Thread David Fisher
We have no problems preserving a Macro contained within an XLS. We have no problems with signed macros. Please post some code so that we can have an idea what you are doing. For example, you need to modify your macro containing file and not copy it within POI. Regards, Dave On Sep 28, 2010, a

Re: problem with macro in xls file

2010-09-28 Thread Pablo Johnson
hi which extension is your output? you have to save it as "***.xlsm" in order to save the macros At 07:09 28/09/2010, you wrote: Hi, I have an excel file as a template with Macro inside it. when I want to edit my file with POI (for example add new rows), the macro has been removed in output fi

problem with macro in xls file

2010-09-28 Thread Shayesteh Alavi
Hi, I have an excel file as a template with Macro inside it. when I want to edit my file with POI (for example add new rows), the macro has been removed in output file. Can anybody knows how to fix this problem? Thank you in advance