Check if the workbook is opened as read-only.(Microsoft Excel Office Scripts)

Japanese version.

This section shows you how to check if a workbook is opened in read-only mode.


The following syntax is used (Red text indicates variable parts)


The result is returned as a bool variable. In many cases, the result is received as a variable or incorporated into an if.

For those who want to learn Office script effectively

The information on this site is now available in an easy-to-read e-book format.

Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.

By the end of this book, you will be equipped with the knowledge you need to use Excel Office Script to streamline your workflow.


Office Scripts Articles