diff --git a/src/PriceListTools/ExportTool.cs b/src/PriceListTools/ExportTool.cs index 1a24d48..8566513 100644 --- a/src/PriceListTools/ExportTool.cs +++ b/src/PriceListTools/ExportTool.cs @@ -56,9 +56,11 @@ namespace RehauSku.PriceListTools { object current = cells[row, column]; - if (current.ToString().IsRehauSku()) + RauSku rauSku; + + if (RauSku.TryParse(current.ToString(), out rauSku)) { - sku = current.ToString(); + sku = rauSku.ToString(); } else if (current.GetType() == typeof(string)