For a complex calculation I have written a VBA function. But ideally I would return more than one result during testing.
My_Function(someinput)
Result1 = "Result1"
Result2 = "Result2"
Result3 = "Result3"
Result4 = "Result4"
End Function
In a cell I would like to write:
=My_Function.Result1(someinput)
And the return would be:
"Result1"
Is this possible?