I am trying to change the text of cells in the first row of the spreadsheet, essentially the column header.
This example is just changing the first cell in row 1.
```
Dim l_sValue As String
l_sValue = "test"
wb.Worksheets(0).Cell(1, 1).DataType = XLCellValues.Text
wb.Worksheets(0).Cell(1, 1).Value = l_sValue
```
However, when I do this the spreadsheet needs to be repaired when I open it. If I change any cell other than a cell in row 1 I have no issues.
I need to modify the column headers so they have a better meaning and can't do this in the DataTable that I am importing from.
Comments: Pick up the source code and use table.Field(strOldName or intFieldIndex).Name = strNewName There are a few things I have to do before creating a release.
This example is just changing the first cell in row 1.
```
Dim l_sValue As String
l_sValue = "test"
wb.Worksheets(0).Cell(1, 1).DataType = XLCellValues.Text
wb.Worksheets(0).Cell(1, 1).Value = l_sValue
```
However, when I do this the spreadsheet needs to be repaired when I open it. If I change any cell other than a cell in row 1 I have no issues.
I need to modify the column headers so they have a better meaning and can't do this in the DataTable that I am importing from.
Comments: Pick up the source code and use table.Field(strOldName or intFieldIndex).Name = strNewName There are a few things I have to do before creating a release.