'Declaration Public Overloads Sub Open( _ ByVal file As String, _ Optional ByVal sheetIndex As Integer, _ Optional ByVal password As String _ )
'Usage Dim instance As ExcelWorkbook Dim file As String Dim sheetIndex As Integer Dim password As String instance.Open(file, sheetIndex, password)
Parameters
- file
- The full path of the file
- sheetIndex
- The index of the Worksheet which will be opened. if the value is -1, it will load all sheets
- password
- The password used to decrypt the file if the file was encrypted with a password