ExcelWorkbook Constructor

Overload List

ExcelWorkbook Creates a workbook with a single worksheet. The default workbook format is Excel 2003. To create a workbook for a different Excel format, like Excel 2007, you can use the constructor with the Format parameter.
ExcelWorkbook(ExcelWorkbookFormat) Creates a workbook with a single worksheet. The format of the workbook is specified by the workbookFormat parameter. The currently supported formats are Excel 97-2003 format and Excel 2007 format.
ExcelWorkbook(Stream) Opens a workbook from the specified Excel stream
ExcelWorkbook(String) Opens a workbook from the specified Excel file
ExcelWorkbook(ExcelWorkbookFormat, ExcelWorkbookDefaultSettings) Creates a workbook with a single worksheet. The format of the workbook is specified by the workbookFormat parameter. The currently supported formats are Excel 97-2003 format and Excel 2007 format.
ExcelWorkbook(Stream, String) Opens a workbook from the specified Excel stream with the specified password
ExcelWorkbook(String, String) Opens a workbook from the specified Excel file with the specified password
ExcelWorkbook(Stream, String, ExcelWorkbookDefaultSettings) Opens a workbook from the specified Excel stream with the specified password
ExcelWorkbook(String, String, ExcelWorkbookDefaultSettings) Opens a workbook from the specified Excel file with the specified password

See Also