Maintaining Formulas when Writing Data to Excel

@CKillick there is this thread about Excel and keeping formats etc. when writing new data:

Th node Write To Excel Template (deprecated) – KNIME Community Hub can be used to recalculate formulas on the same page. I also toyed around with openpyxl to refresh the formula results but it is not exactly what I was hoping for.

Another option could be to delete and re-write the formula thru openpyxl and see if that would cause a recalculation.

Some time back Excel itself had problems with some recalculations on large files. I remember sending manual keystrokes thru VBA in order to force a full recalculation (not very elegant indeed). I am not sure if this is still a thing with Excel itself and how this might affect other software interacting with Excel.

4 Likes