Closed mjskolly closed 11 years ago
Right - so the file is not an xls file, or something like that. Did you verify you can open the file with Excel? If so, put the file in a public place and update.
Hi, Thanks very much for your help. The short answer is I'm an idiot :) The long answer is: For some reason first file had the extension .XLS and the second one had the extension .xls, which I didn't notice and it did not prevent either file from opening in either excel or in the spreadsheet manager built into xcode, however made a big difference when trying to open in the program. I actually did not have time to do more then check the files in excel this past week. However I caught this almost immediately when I started on this today. I guess I had just been looking at it for too long.
thanks again for your prompt response.
Everything was working fine. I then replaced my .xls file with another .xls file of the same name (I deleted the original first). After that I got this error. I have tried putting the original file back as well as several other .xls files I get this error with everything now.
It happens here: _reader = [DHxlsReader xlsReaderFromFile:path]; assert(_reader);
at the assert. I have checked the path and it is correct.
The full error: Assertion failed: (_reader), function -[ConvertExcel init], file /Users/me/Documents/Stuff/Inventory/Inventory/ConvertExcel.m, line 19.