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

Free Support Forum - aspose.com

Writing data to open Excel file

Good evening!
Can you please tell me, can I, with the the library Aspose, write some data to an already open excel file?

I tried to do it - as indicated in the example), but an error occurs, that is, the Excel cannot be written and saved in an open file.

Is it possible ?

@Android1,

Thanks for your query.

Aspose.Cells behaves differently than Interop and does not allow to write/save in an opened Excel file. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.

Hello,
Thank you!

@Android1,

I think you may easily cope with it using any of the following options

  1. Close the opened file (which is opened in Ms Excel manually).
  2. Save the Excel file with different name in code using Aspose.Cells APIs.

Hope, this helps.

Unfortunately, this is not very convenient. This file is used by another person.
Unfortunately will have to use Qt library.

@Android1,

Thank you for the feedback and we are sorry for the inconvenience caused to you in this regard.

The following part which will be getting the part that convenient to use the qt library that enable the writing data to open excel file which can’t load xpcom inconvenience that caused to the regard.

@painetim,

Could you please elaborate if you encounter any issue with Aspose.Cells API. We will be glad to look into it and help you further.