try to return somewhat meaningful errors for any kind of error in the worksheet formatting.