I want to write a dt while using a Write Range for adding a dt with formulas to a sheet.
When using the Workbook Write Range I will get just the plane text. (Like below)
When hitting enter in the cell (while having Excel open), the formula is accepted. I have read that this doesn’t work with the Write Range from Workbook.
This is why I use the Excel Application Scope. I have debugged it it to the level of knowing that I happens when I use a = in the Write Range. Meaning I can’t write a formula to the sheet. Anybody any advice? Using the 2019.11.0-beta.2 version.
I have tried the same with a string which gives me the same result.
Please also see the xaml for more details. UiPath_Test.xaml (29.5 KB) Example dt.xlsx (11.6 KB)
@J0ska… unfortunately this doesn’t do the trick for my situation. Thank you for your input though! Hopefully it will help others that face the same situation.
Thank you so much for your input! I am still trying to figure out the rest since it only gives me #Name? although the formula is correct (changes ; into , and added a quote in the formula). Also I changed the Quote variable into “”“” which is a bit easier I think. Do you mind helping me on the rest as well?
Problem 1
The first column is correct. However, the second shows =Name? although the syntax is correct.
Column 1 = “=(Input!C” + cstr(Counter) + “-Input!C” + cstr(UpCounter) + “)/Input!C” + cstr(UpCounter) Resulting in IF(A2>=0;“Up”;“Down”) Works
Column2 = “=ALS(A”+ cstr(Counter)+ “>=0,” + “”“” + “Up” + “”“” + “,” + “”“” + “Down” + “”“” +“)” Resulting in = Name?
When opening the cell and pressing Enter, the formula works without any changes.
Problem 2
It will give me the same error "Range does not exist) when trying to write all four columns.
Me neither. I have also checked all kinds of settings without any succes. Creating the formula in UiPath instead of Excel. Thank you for your help @J0ska!