Description
Reads the XLS file and loads the workbook.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static ExcelWorkbook ReadXLS(
	string fileName,
	string password,
	ProgressEventHandler readingProgressHandler
)
Public Shared Function ReadXLS ( _
	fileName As String, _
	password As String, _
	readingProgressHandler As ProgressEventHandler _
) As ExcelWorkbook
public:
static ExcelWorkbook^ ReadXLS(
	String^ fileName, 
	String^ password, 
	ProgressEventHandler^ readingProgressHandler
)

Parameters

fileName
String
Name of xls file.
password
String
Password for decrypting workbook.
readingProgressHandler
ProgressEventHandler
The reference to handler of event ExcelWorkbook.ReadingProgress.

Return Value

The workbook as ExcelWorkbook object.

See Also