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
)
Public Shared Function ReadXLS ( _
	fileName As String, _
	password As String _
) As ExcelWorkbook
public:
static ExcelWorkbook^ ReadXLS(
	String^ fileName, 
	String^ password
)

Parameters

fileName
String
Name of xls file.
password
String
Password for decrypting workbook.

Return Value

The workbook as ExcelWorkbook object.

See Also