Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

Commented Unassigned: Cell with Accounting Format produces crash during String Table creation [9376]

$
0
0

Se attached Excel document. It is currently being filled by manual data entry, which is a lot of work. The purpose of the application I am developing is to "clone" the "item 1" worksheet 'n' times (say, "item 2" to "item 36") and populate them from an XML file.

I found a bug in the __GetA1Column()__ method of the "__XLCell__" class.

The cell in question is formatted as "Accounting" and contains only a hyphen. The exception occurs when the following operation is attempted:

```
Int32.Parse("-");
```


Comments: I can open and save it no problem. Is there anything else I have to do? ``` var wb = new XLWorkbook("One-Item.xlsx"); wb.SaveAs("One-Item2.xlsx"); ```

Viewing all articles
Browse latest Browse all 1877

Trending Articles