A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Thanks for your answer.
Are you sure about it?
That's so weird.
I agree it is weird.
The function code will work if the function is called by a Sub routine or by calling it from "View Macros". It just won't work called from a worksheet cell.
There were comments in the Excel help file about this, but I can't find them now.
Also FWIW, a function called from a worksheet cell cannot alter/change another worksheet cell.
This was implemented many years ago as a security precaution.
'---
Nothing Left to Lose
https://1drv.ms/u/s!Au8Lyt79SOuhZw2MCH7_7MuLj04?e=sAwbHU
(free excel programs)