OpenExcel(String,String,String) Method
Opens an Excel file and loads the specified sheet (by name) from that file into this sheet.
'Declaration
Public Overloads Function OpenExcel( _
ByVal As String, _
ByVal As String, _
ByVal As String _
) As Boolean
'Usage
Dim instance As SheetView
Dim fileName As String
Dim excelSheetName As String
Dim password As String
Dim value As Boolean
value = instance.OpenExcel(fileName, excelSheetName, password)
Parameters
- fileName
- Path and name of the file to open
- excelSheetName
- Name of the sheet to load from the file
- password
- Password