'Declaration Public Overloads Sub Open( _ ByVal file As String, _ Optional ByVal sheetIndex As Integer, _ Optional ByVal password As String _ )
'Usage Dim instance As ExcelOperator Dim file As String Dim sheetIndex As Integer Dim password As String instance.Open(file, sheetIndex, password)
Parameters
- file
- The excel document file name.
- sheetIndex
- The index of loading ExcelWorksheet. If it's less that 0, means load all sheets.
- password
- The password to open the workbook. The default password is a null reference (Nothing in Visual Basic).