# Problem: Excel Table Writer

**URL:** <https://forum.knime.com/t/problem-excel-table-writer/88803>\
**Category:** KNIME Extensions\
**Tags:** scripting, other-knime-extensions, text-processing\
**Created:** [June 26, 2025, 8:02am UTC](https://forum.knime.com/t/problem-excel-table-writer/88803 "2025-06-26T08:02:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sven7904](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@sven7904](https://forum.knime.com/u/sven7904)\
**Post date:** [June 26, 2025, 8:02am UTC](https://forum.knime.com/t/problem-excel-table-writer/88803/1 "2025-06-26T08:02:41Z")

</div>

I need/create an table fomated Excel file.  
I used the “Excel Table Writer” Node, to formate it, but…  
This Node destroys the [xl/worksheet/sheet.] xml header.  
When i rename the file to .zip and open the xml, the first line is missing

\<?xml version="1.0" encoding="UTF-8" standalone="yes"?\>

Why?

Exists an other work around or solution?

Best reguards

---

<div class="post-metadata">

**Author:** ![ScottF](https://forum-cdn.knime.com/user_avatar/forum.knime.com/scottf/32/61316_2.png) [@ScottF](https://forum.knime.com/u/ScottF)\
**Post date:** [July 31, 2025, 10:08pm UTC](https://forum.knime.com/t/problem-excel-table-writer/88803/2 "2025-07-31T22:08:30Z")

</div>

Hi @sven7904 -

Are you referring to this component created by @tommy?

> **[Excel Table Writer – tommy](https://hub.knime.com/tommy/spaces/Public/Excel%20Table%20Writer~EnxXLRACyo7A_tGI/most-recent)**
>
> Write the data table to an Excel file and format that table as a \*Table\*. This includes filter functionality out of the box e.g. Opening the excel file and "Se…

If so we would need to get his input. Maybe there are adjustments to be made to the Python script inside the component to alleviate the problem?

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [August 1, 2025, 2:46am UTC](https://forum.knime.com/t/problem-excel-table-writer/88803/3 "2025-08-01T02:46:11Z")

</div>

@sven7904 you could try this approach to format a “real” table in Excel if this is what you want:

> [@Write KNIME table to Excel as table (proposal)](https://forum.knime.com/t/write-knime-table-to-excel-as-table-proposal/14044/10):
>
> OK I think now I get what you want. Yes it is possible to first save a table as a ‘pure’ excel file and then define a range as a table object “All” which you can later use to refer to it. In my example the no of lines that the object would have is assigned dynamically while the columns are fixed but one might also be able to change that to a dynamic setting. After the ‘raw’ KNIME export: After openpyxl got to work: (cf. [https://openpyxl.readthedocs.io/en/stable/…](https://openpyxl.readthedocs.io/en/stable/worksheet_tables.html)

---

<div class="post-metadata">

**Author:** ![Nick\_Reader](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/n/f04885/32.png) [@Nick\_Reader](https://forum.knime.com/u/Nick_Reader)\
**Post date:** [August 5, 2025, 1:31am UTC](https://forum.knime.com/t/problem-excel-table-writer/88803/4 "2025-08-05T01:31:49Z")

</div>

Do you want to populate an excel with pre-existing formatting? There is this handy node:

> **[Write To Excel Template](https://hub.knime.com/anotherfrauduser/extensions/org.anotherfraud.excel.feature/latest/org.AF.ExcelUtilities.WriteToExcelTemplateV2.WriteToExcelTemplateV2NodeFactory)**
>
> This node writes the input data table into an existing Excel file without changing its formatting. Alternatively a new file will be created based on the templa…

---

<div class="post-metadata">

**Author:** ![sven7904](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@sven7904](https://forum.knime.com/u/sven7904)\
**Post date:** [August 5, 2025, 11:18am UTC](https://forum.knime.com/t/problem-excel-table-writer/88803/5 "2025-08-05T11:18:09Z")

</div>

Hi nick\_the\_best,

thats a good solution. it works for me. Thanx

---

<div class="post-metadata">

**Author:** ![sven7904](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/s/dec6dc/32.png) [@sven7904](https://forum.knime.com/u/sven7904)\
**Post date:** [August 5, 2025, 11:23am UTC](https://forum.knime.com/t/problem-excel-table-writer/88803/6 "2025-08-05T11:23:26Z")

</div>

Hi ScottF,

yes… But i´ve test the solution from nick\_the\_best with the writer to excel template. That works fin efor me.

---

<div class="post-metadata">

**Author:** ![Nick\_Reader](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/n/f04885/32.png) [@Nick\_Reader](https://forum.knime.com/u/Nick_Reader)\
**Post date:** [August 7, 2025, 6:00am UTC](https://forum.knime.com/t/problem-excel-table-writer/88803/7 "2025-08-07T06:00:34Z")

</div>

You’re welcome! It’s a great node. A little clumsy, but very helpful.

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [August 14, 2025, 6:01am UTC](https://forum.knime.com/t/problem-excel-table-writer/88803/8 "2025-08-14T06:01:33Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
