use excel_add_sheet::ExcelDoc;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let minimal = r"C:\Users\Joey\Desktop\Rust apps\SoL\sol_check\uploaded_edited.xlsx";
let mut doc = ExcelDoc::open(minimal)?;
let data = vec![
vec!["Scripted".to_string(), "Sheet".to_string()],
vec!["123".to_string(), "456".to_string()],
];
doc.add_worksheet("ScriptSheet", Some(data))?;
doc.save(minimal)?;
println!("Added ScriptSheet and saved to minimal.xlsx!");
Ok(())
}