Message-ID: <518112980.8543.1711649448348.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8542_1939116436.1711649448348" ------=_Part_8542_1939116436.1711649448348 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Opens an Excel workbook from a stream and returns a Workbook object.
=20public virtual Workbook Open(System.IO.Stream stream)=20
Public Overridable Function Open(ByVal stream As System.IO.Stream) As Workb= ook=20
Workbook
object representing the file opened.=20
ExcelApplication xla =3D new ExcelApplication(); FileStream fStrm =3D new FileStream(@"C:\Sales\2003\June.xls= x", FileMode.Open); Workbook wb =3D xla.Open(fStrm);=20
Dim xla As New ExcelApplication() Dim fStrm As FileStream =3D New FileStream("C:\Sales\2003\Ju= ne.xlsx", FileMode.Open) Dim wb As Workbook =3D xla.Open(fStrm)=20