ngs-doo / TemplaterExamples

Creating reports in .NET and Java
https://templater.info
The Unlicense
48 stars 27 forks source link

Excel column name Column1 , Column2 #66

Closed ado2000 closed 1 year ago

ado2000 commented 1 year ago

Passing header data to an excel template using [[data]:header]

If I have duplicated header column value, the result is that the duplicate column are named Column1 , Column2

Is it a bug?

zapov commented 1 year ago

Its not a bug, as Excel would complain that file is corrupted if columns would be named the same. What behavior would you prefer? To raise an exception?

ado2000 commented 1 year ago

Hi, no, thanks, I'll rename duplicated columns.

Thanks