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