Free Support Forum - aspose.com

Problem Opening Existing Excel File

Dear Amjad Sahi,

We are using trial version of Aspose.Cells for opening one excel file template and then populating the cells with some data and then saving it to user browser. Its all working fine but while opening the file we are loosing all the stuff in the file [table headers, charts, macros, etc] and it seems we have to create all again using code, which is not what we would liek to do. Not sure if we are doing wrong or if this possible.

We used code from the samples available.

Looking forward to your advice.

Regards,
Deep

Hi Deep,

Thanks for considering Aspose.

Could you tell me, which version of Aspose.Cells for .NET or Java you are using (you should first try the latest version). And are you using Workbook.LoadData() to open your template file, if so, some formattings contents, drawing objects might be lost, so you may use Workbook.Open() method.

If this is not the case, could you give us your sample code and post your template file as an attachment here. We wull check it soon.

Thank you.

Thanx man, it solved our problem!!

Now we can work on the issues next in line!! Will bother you soon :)

regards,