Correct guenti

That is what I said. I tried to modify your code with return error codes and based on that, I don't think the GOTO is supported from within a Function.

I could be wrong, but it doesn't run as you've seen.

I think you need to modify your code to use other methods.