Reading a file from a stream with Excel Interop


  • Is there any way to upload an Excel file and open it with the Excel Interop without saving it to the server's hard drive first (such as reading directly from the filestream)?

    I wish to open a System.IO.Stream object directly from memory.



    Application xlApp = new Application();

    Workbook xlWorkBook = xlApp.Workbooks.Open(filename);



    Tuesday, November 30, 2010 11:17 PM

All replies