<< xls_OffsetRange xls_link xls_Protect >>

xls_link >> xls_link > xls_Open

xls_Open

Open an Excel file.

Calling Sequence

xls_Open(fileName[, password])

Parameters

fileName

Path to the file.

password

Password required to open a protected file (and to write in a write-protected file). Optional.

Description

Open a Excel file.

Example

xls_NewExcel();

file_path = fullfile(xls_getRootPath(), 'tests/unit_tests/xls_Open.xls');
xls_Open(file_path);

// Open a file protected with a password
file_path = fullfile(xls_getRootPath(), 'tests/unit_tests/xls_Open_password.xlsx');
xls_Open(file_path, "123");

xls_Close();
xls_Quit();

See Also


Report an issue
<< xls_OffsetRange xls_link xls_Protect >>