Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / OpenExcel Method / OpenExcel(String,ExcelWarningList) Method
Path and name of file
List of Excel warnings


In This Topic
    OpenExcel(String,ExcelWarningList) Method
    In This Topic
    Opens an Excel-compatible file and loads it into Spread with a list of warnings.
    Syntax
    'Declaration
     
    
    Public Overloads Function OpenExcel( _
       ByVal fileName As String, _
       ByVal warningList As ExcelWarningList _
    ) As Boolean
    'Usage
     
    
    Dim instance As FpSpread
    Dim fileName As String
    Dim warningList As ExcelWarningList
    Dim value As Boolean
     
    value = instance.OpenExcel(fileName, warningList)

    Parameters

    fileName
    Path and name of file
    warningList
    List of Excel warnings
    Exceptions
    ExceptionDescription
    Specified file is not found
    No file name is specified (or specified file name is null)
    No file name is specified (or specified file name is empty)
    See Also