Closed anzhi0708 closed 10 months ago
It seems like you're trying to read a table when you want to read a whole sheet. These are different.
Try
if let Some(Ok(result)) = wb.worksheet_range(sheet_name) {
}
To load tables, you must first run the load_tables
function. We should probably update and return an error instead of panicking though.
same panic here, later found that it is sheet name, not table name:
let mut workbook: Xlsx<_> = open_workbook(&file_path).unwrap();
let sheet_name = workbook.sheet_names()[0].to_owned();
if let Ok(range) = workbook.worksheet_range(&sheet_name) {
...
}
Hello, sorry if this's a noob question. I was trying to read data from a file:
Code
Command line
Error
The code compiled successfully and I'm too dumb to figure it out myself. Send help plz