Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
395
Excel.workbook.save methos to save in memory stream
posted

Hello there,

 

I am trying to save the contents of excel workbook in the memory stream and use the memory stream for my further processing.

I was trying to use one of the overloads of excel.workbook.save(stream) but seems like it does not save the stream. Please can you share me a snippet of how this should be done?

 

Thank you very much

  • 48586
    posted

    Hi,

     

    I just wanted to know if you were able to solve your issue based on my suggestions or you still need help? Did you test my sample ?Just let me know.

    Thank you.

     

  • 48586
    Suggested Answer
    posted

    Hello,

     

    I have created a small sample that illustrates how to save workbook content in MemoryStream, please run the sample and press button “Save”. In the richTextBox next to the grid you will see the content of the stream represented as chars.

     

    Let me know if you have any further questions.

    SaveWorkbookInStream.zip