We're looking for a simple way to turn a workbook to read-only.
Since the workbook includes some 11 sheets, each with a different number of rows and columns we cannot use the spreadsheet range setting (range.set_enabled(false)).
We tried using the workbook.Protected parameter in code-behind, but the "Protected" parameter is somehow not accepted.
Any tips would be appreciated.