Unprotect Excel file.
xls_UnProtect(password)
Remove password used to protect excel file.
xls_NewExcel(); xls_AddWorkbook(); xls_SetVisible(); xls_Protect("your_secure_password"); //you cannot modify in excel file xls_UnProtect("your_secure_password"); //you can modify in excel file xls_SetSave(%t); xls_Close(); xls_Quit();