Spread WPF 17
GrapeCity.Windows.SpreadSheet.UI Namespace / GcSpreadSheet Class / OpenExcel Method / OpenExcel(String,ExcelOpenFlags,String) Method
The path to load the file from.
The flags used to open the file.
The password used to open the file.


In This Topic
    OpenExcel(String,ExcelOpenFlags,String) Method
    In This Topic
    Opens an Excel Compound Document File and loads it into GcSpreadSheet.
    Syntax
    'Declaration
     
    Public Overloads Sub OpenExcel( _
       ByVal file As String, _
       ByVal openFlags As ExcelOpenFlags, _
       ByVal password As String _
    ) 
    'Usage
     
    Dim instance As GcSpreadSheet
    Dim file As String
    Dim openFlags As ExcelOpenFlags
    Dim password As String
     
    instance.OpenExcel(file, openFlags, password)
    public void OpenExcel( 
       string file,
       ExcelOpenFlags openFlags,
       string password
    )

    Parameters

    file
    The path to load the file from.
    openFlags
    The flags used to open the file.
    password
    The password used to open the file.
    See Also