Spread Windows Forms 15.0
FarPoint.Excel Assembly / FarPoint.Excel Namespace / ExcelFileHandler Class / Open Method / Open(String,Stream,ArrayList,Int32,ExcelOpenFlags,String) Method


In This Topic
    Open(String,Stream,ArrayList,Int32,ExcelOpenFlags,String) Method
    In This Topic
    Opens the specified Excel file and loads the specified sheet.
    Syntax
    'Declaration
     
    
    Public Overloads Function Open( _
       ByVal fileName As String, _
       ByVal stream As Stream, _
       ByVal sheetNames As ArrayList, _
       ByVal excelSheetIndex As Integer, _
       ByVal openFlags As ExcelOpenFlags, _
       ByVal password As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As ExcelFileHandler
    Dim fileName As String
    Dim stream As Stream
    Dim sheetNames As ArrayList
    Dim excelSheetIndex As Integer
    Dim openFlags As ExcelOpenFlags
    Dim password As String
    Dim value As Boolean
     
    value = instance.Open(fileName, stream, sheetNames, excelSheetIndex, openFlags, password)

    Parameters

    fileName
    stream
    sheetNames
    excelSheetIndex
    openFlags
    password
    See Also