We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Does Aspose Cells allow to you to pass in an already open workbook object?

It is bit painful to not allow an already open wkb object to be passed to the Aspose library.


Is this something that is planned for the future?

Hi,


Yes, Aspose.Cells does allow you open/load an Excel file which is already opened in MS Excel. Aspose.Cells creates a copy of the original file and loads it into the instance of its object model. Now, you may manipulate the file and then resave it as. Here you should not save it (via Workbook.Save() method) with the same name because the Excel file is already opened into another process, so all you need to do it to save it with some other name to create a copy of the file. By the way, if you are loading an Excel file which is already opened in some streams, please close that stream first.

Let us know if you have any issue or confusion, please elaborate with sample code and template file, we will check it soon.

Thank you.