Hi everyone!
I’m facing a weird fact in processing my robot, I’ll try to explain.
I want to automate a very technical process for a client that, in the final phase, makes use of an add-inn installed on Excel. This add-inn simply introduces a new set of formulas which extrapolate figures and data from a result file obtained externally. The template for downloading these data is just set up, I need only to update a cell and click Formulas → Calculate Now → Save.
The weird fact is that, nevertheless the robot performs correctly all the steps that I have indicated, including “Formulas → Calculate Now → Save” - I can see it in the screen -, when I open the file I find a message of error =NAME? in all cells, as if they were not refreshed. On the contrary, if I try to do all the steps manually, everything works.
Is there someone who can help me to understand?
Thank you in advance
Lorenzo
PS: consider that I have to keep Calculation Options = Manual and I can’t modify this setting.
Hi @Vivek_Arunagiri,
thanks for your reply.
I have already tried this way. I have also tried to add a send hotkey activity Alt+mb, which should be the same, but nothing.
Your error suggest some kind of formula syntax issue within the excel report itself. Are the inputs to your formula dependant on the refresh also perhaps?
I tried to adopt both RefreshCalculation.zip and RefreshCalculation2.zip model. The result is always the same: nothing. I’m starting to think there is something wrong (eg an optional flag marked in the Excel Option panel) in the template file.
Responding to your previous suggestion: yes, I have already though about a simple macro to run, but I would really prefer avoid it for a number of reasons as well as to do not overload the file.
The fact your intended automation can be carried out using a simplified spreadsheet, as in my worked examples, shows that your issue is excel related and not UiPath. Possibly because of the nature of your formulas some are referencing other inputs which are not updated under the same circumstances.
I’m afraid I can’t upload attachments because I’m a new user of the forum. However, I think you could not see anything without the license of the Excel add-in.