Deleting VBA forms and server side VBA modules from Excel 2003

Hi Amjad,

I want to delete VBA forms which has some design and server side VBA modules lying inside Excel 2003 using Aspose.cells (Java).

Just for FYI :- This is a excel 2003 template file from which we are creating end user excel. On certain condition we delete VBA forms and server side VBA modules and create plain excel file which contains only differant sheets.

how to acheive that ?

Thanks

Shrikant

Hi,


I think you may try to use Workbook.removeMacro() method to remove VBAs/Macros in the Excel file.

Thank you.