pub fn delete_sheet(
workbook_xml: &mut WorkbookXml,
workbook_rels: &mut Relationships,
content_types: &mut ContentTypes,
worksheets: &mut Vec<(String, WorksheetXml)>,
name: &str,
) -> Result<()>Expand description
Delete a sheet by name.
Returns an error if the sheet does not exist or if it is the last remaining sheet.