This method remove a worksheet from the active workbook.
Parameter
Description
shName
String, optional. The name of the worksheet that needs to be removed. If omitted or when a zero-length string is specified, the active worksheet is closed.
Sub Main Dim strName As String If Not XLS.AppInit() Then ExitSub XLS.AppVisible = True strName = XLS.AddWorkBook() XLS.AddWorkSheet "MijnBlad" XLS.DeleteWorkSheet "Blad1" XLS.CloseWorkBook XLS.AppClose EndSub