ExpertXls Excel Library for .NET
ExcelWorkbook Constructor (excelFileName, openPassword, defaultSettings)
Namespaces ► ExpertXls.ExcelLib ► ExcelWorkbook ► ExcelWorkbook(String, String, ExcelWorkbookDefaultSettings)
ExpertXls Excel Library for .NET
Opens a workbook from the specified Excel file with the specified password
Declaration Syntax

C# | Visual Basic | Visual C++

    public ExcelWorkbook(
    	string excelFileName,
    	string openPassword,
    	ExcelWorkbookDefaultSettings defaultSettings
    )

    Public Sub New ( _
    	excelFileName As String, _
    	openPassword As String, _
    	defaultSettings As ExcelWorkbookDefaultSettings _
    )

    public:
    ExcelWorkbook(
    	String^ excelFileName,
    	String^ openPassword,
    	ExcelWorkbookDefaultSettings^ defaultSettings
    )

Parameters

excelFileName (String)
  The file name of the Excel file to be loaded

openPassword (String)
  The password to open the workbook

defaultSettings (ExcelWorkbookDefaultSettings)
  The default settings for the newly created workbook (like default font, row height or column width).

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)