Simon Mourier's Avatar
Simon Mourier's blog (1807 answers on StackOverflow) about Microsoft technologies C#, C/C++, .NET, WinRT, WinUI3, AOT, P/Invoke, COM, Interop, DirectX, Direct2D, Windows, ...
  • 🔎︎ Search
  • Categories
  • Archives
  • About Me
  • asp.net
  • c#
  • com
  • interop

How open stream or base64 of excel file by Office.Interop.Excel C#

Dec 7, 2019 See the question and my original answer on StackOverflow

In any .NET language (VB.NET included) the Open method only takes a string as input. The answer to your link seems quite wrong, I don't see how that could work with a FileStream (or a Stream).

You can use other 3rd party libraries for that, but not Excel itself.

  • SmoBlog © 2010-2026 Simon Mourier. All rights reserved.
  • Privacy & Terms