Opens an Excel Compound Document File and loads it into GcSpreadSheet.
Syntax
'Declaration
Public Overloads Sub OpenExcel( _
ByVal As System.IO.Stream, _
ByVal As ExcelOpenFlags, _
ByVal As System.String, _
ByVal As System.Integer _
)
'Usage
Dim instance As Workbook
Dim stream As System.IO.Stream
Dim openFlags As ExcelOpenFlags
Dim password As System.String
Dim sheetIndex As System.Integer
instance.OpenExcel(stream, openFlags, password, sheetIndex)
public void OpenExcel(
System.IO.Stream ,
ExcelOpenFlags ,
System.string ,
System.int
)
Parameters
- stream
- The stream that contains an Excel Compound Document File.
- openFlags
- The open flags.
- password
- The password for the file.
- sheetIndex
- The index of sheet in Excel file.
See Also