Delete Worksheet.(Microsoft Excel Office Scripts)
Introduces how to delete a worksheet using Office scripts.
The following syntax is used (Red text indicates variable parts)
workbook.getWorksheet("Sheet name to be deleted").delete();
The sheet to be deleted must be visible.
Attempting to delete a sheet that is not visible will result in an error.
For those who want to learn Office scripting effectively
The information on this site is now available in an easy-to-read e-book format for $3.00.
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 Scripts to streamline your workflow.