NativeExcel for .Net Developer's Reference

IWorkbook.Open Method (String)

Opens an existing workbook from a file.

[Visual Basic]
Function Open( _ 
   ByVal Filename As String _ 
) As Boolean
[C#]
bool Open(
   string Filename
);
[C++]
bool Open(
   String* Filename
);
[JScript]
function Open(
   String Filename
): bool;

Parameters

Filename
A string that indicates the name of the file to be opened. You can include a full path; if you don't, workbook opens the file in the current folder.

Return Value

Returns true if it succeeded, false otherwise.

See Also

IWorkbook Interface | NativeExcel Namespace | IWorkbook.Open Overload List | Factory.OpenWorkbook Method