ahmedwalid05 / FastExcel

Fast Excel Reading and Writing in .Net
MIT License
334 stars 98 forks source link

Writing Excel fails to preserve template #71

Open samcov opened 1 year ago

samcov commented 1 year ago

I basically use the standard example to write to a file using a template, however the template is not being preserved, and the cells do not observe the text formatting (See the picture).

In the picture, the top is the template, and the first 2 rows contains static information, a header if you will.

However, it's completely missing in the output file, as well as the formatting & lines.

Is there a setting or something I'm missing?

image

Srki94 commented 1 month ago

I'm having the same issue. Sadly the template file is strictly required for my purpose and it can't be changed. I need to modify the data in template only.

Did you ever find an solution?

samcov commented 1 month ago

I switched to NPOI, then perfection!