'Declaration
Public Overloads Function OpenExcel( _ ByVal fileName As String, _ ByVal excelSheetIndex As Integer _ ) As Boolean
'Usage
Dim instance As SheetView Dim fileName As String Dim excelSheetIndex As Integer Dim value As Boolean value = instance.OpenExcel(fileName, excelSheetIndex)
public bool OpenExcel( string fileName, int excelSheetIndex )
Parameters
- fileName
- Name of the file to open
- excelSheetIndex
- Index of the sheet in the Excel file to load
Return Value
Boolean: true if successful; false otherwise