I ran into a problem with setting a formula through macro. Issue is that at the very end Calc is setting four brackets “))))” instead of three. Spits out Err:504.
The function as it is passed to setFormula is as follows:
“=IF(EXACT(C” & rowEdited & “;”""");"""";CONCAT(LEFT(F" & rowEdited & “;LEN(F” & rowEdited & “)-7; “” “”; E” & rowEdited & “;”" “”; G" & rowEdited & “; “” “”; TEXT(C” & rowEdited & “;”“000000"”);"" “”;RIGHT(F" & rowEdited & “;6)))”
Thank you in advance for any suggestions.