Better exception handling for malformed spreadsheets