More error reporting when parsing Excel spreadsheets.

Also fixed Mail() call with similar function parameters.