Show/Hide Worksheet.(Microsoft Excel Office Scripts)

Japanese version.

Introduction of how to show/hide worksheets using Office scripts.


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

// To show
workbook.getWorksheet("Sheet name to show").setVisibility(ExcelScript.SheetVisibility.visible);
// To hide
workbook.getWorksheet("Sheet name to hide").setVisibility(ExcelScript.SheetVisibility.hidden);

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