Hello everyone,
Just out of curiosity, the first code works, the second one gives me Err:508
1st:
with ThisComponent.sheets.getByName("Sheet1")
.getCellRangeByName("e1").formula = "=b3+b4"
end with
2nd:
with ThisComponent.sheets.getByName("Sheet1")
.getCellRangeByName("e1").formula = "=iferror(b3+b4,"""")"
end with
When I edit the cell, it shows the formula properly, but it does not calculate.
When I type in that formula into a different cell, and then programmatically copy formula form one cell to the next, it works just fine as well.
Thank you in advance, for your help.
[erAck: edited to insert a blank line after 1st/2nd to actually format the next paragraph as indented code]