I have a function wich is called in a cell.
When the function find some problem, I want to register the error in another sheet at the same file, as a log. But when I'm into the function, I'm not able to set values to other cells, a runtime error occur.
Even if I make a separate Sub, the same occurs.
Running the sub separately, it works, but when it is called by the function, it doesn't work.
How can I do this? I want to store the informations about the functions' errors, but I don't want to use an external file, because it will become slow.
Thanks in advance
When the function find some problem, I want to register the error in another sheet at the same file, as a log. But when I'm into the function, I'm not able to set values to other cells, a runtime error occur.
Even if I make a separate Sub, the same occurs.
Running the sub separately, it works, but when it is called by the function, it doesn't work.
How can I do this? I want to store the informations about the functions' errors, but I don't want to use an external file, because it will become slow.
Thanks in advance