Aug 16 2021
Is there an Excel Script command for Excel online which could enable the Protect Workbook function so that the file opens as read only?
To do this manually, the steps would be
File > Info > Protect Workbook
I have tried running workbook.getProtection().protect(); however this does not seem to enable this setting.
Aug 18 2021