Site icon Kaizen.Personal computer work.

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.

Operations

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

workbook.getReadOnly();

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.

Links

Office Scripts Articles

Exit mobile version