While using the Roo gem, we've remarked that some Excel sheet may contain cells with the #ERROR! value.
We've been patching that with the following code:
module Roo
class Excelx < Roo::Base
ERROR_VALUES = %w(#N/A #REF! #NAME? #DIV/0! #NULL! #VALUE! #NUM! #ERROR!).to_set
end
end
I think that would be good to add it to this official repo.
Steps to reproduce
Read a sheet with a cell that contains =#error!
Issue
While using the Roo gem, we've remarked that some Excel sheet may contain cells with the #ERROR! value. We've been patching that with the following code:
I think that would be good to add it to this official repo.
System configuration
Roo version:
Ruby version: