Deletes the current worksheet.
This method doesn't have any parameters.
builder.CreateFile("xlsx"); Api.AddSheet("New sheet"); var oSheet = Api.GetActiveSheet(); oSheet.Delete(); var oWorksheet = Api.GetActiveSheet(); oWorksheet.GetRange("A3").SetValue("This method just deleted the second sheet from this spreadsheet."); builder.SaveFile("xlsx", "Delete.xlsx"); builder.CloseFile();