Skip to main content
Solved

After a cell update via sql, the formulas in Excel don't update automatically

  • February 9, 2017
  • 2 replies
  • 68 views

lau
Forum|alt.badge.img+3

Hi all,

I am updating a cell of an Excel sheet using a SQLExecutor. The update of the cell works fine but I have a formula links to this cell that doesn't update.

I check in Excel and the Woorkbook Calculation parameter is set to automatic.

As I have more than 1000 formulas, I don't want to clik on them and press enter (the only solution I found for now) to update them.

I put in attached the workspace.

Best answer by david_r

As far as I can tell the issue lies with the MS ADO library and not with FME as such. It seems like ADO treats your Excel sheet as a pure database and writes your value into the cell without triggering the recalculation.

However, it seems that if you have your Excel sheet open while you run your workspace, it works. This is probably because the (running) Excel engine receives notification of the changed cell value and acts accordingly.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

david_r
Celebrity
  • Best Answer
  • February 10, 2017

As far as I can tell the issue lies with the MS ADO library and not with FME as such. It seems like ADO treats your Excel sheet as a pure database and writes your value into the cell without triggering the recalculation.

However, it seems that if you have your Excel sheet open while you run your workspace, it works. This is probably because the (running) Excel engine receives notification of the changed cell value and acts accordingly.


lau
Forum|alt.badge.img+3
  • Author
  • February 13, 2017

As far as I can tell the issue lies with the MS ADO library and not with FME as such. It seems like ADO treats your Excel sheet as a pure database and writes your value into the cell without triggering the recalculation.

However, it seems that if you have your Excel sheet open while you run your workspace, it works. This is probably because the (running) Excel engine receives notification of the changed cell value and acts accordingly.

nice workaround! Thank you