I am able to read the excel file after reading and creating the file by poi. the actual problem is that on sheet 1 I have macro which generates a chart image on sheet 2. when i remove the 1st sheet using POI though the sheet gets deleted the macro is still there. and this is the cause for the problem.
is there a way to delete hte macro using poi?
Thanks and regards, Anand
From: Avik Sengupta <[EMAIL PROTECTED]> Reply-To: "POI Users List" <[EMAIL PROTECTED]> To: POI Users List <[EMAIL PROTECTED]> Subject: Re: removeSheetAt() gives an error Date: 20 Nov 2003 22:16:00 +0530
can u read the file xl after just reading and writing the file by poi? You need to narrow down the error to whats causing it.
On Thu, 2003-11-20 at 19:04, Rao Anand wrote:
> Hi
>
> I need to delete excel sheet from a workbook containing macros and an image.
> I am using removeSheetAt() method to achieve this, though the sheet is
> getting deleted when i open the new excel sheet it gives an error/message:
>
> "Errors were detected in 'sheet.xls', but Microsoft excel was able to open
> by making repairs listed below:
> Removed one or more invalid names."
>
> can anyone please tell why this occurs and how to resolve it.
>
> Thanks in advance
> Anand
>
> _________________________________________________________________
> Garfield on your mobile. Download now. http://server1.msn.co.in/sp03/gprs/
> How cool can life get?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Access Hotmail from your mobile now. http://server1.msn.co.in/sp03/mobilesms/ Click here.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
