in the VB editor on Sheet1 I've put this code:

Function xx()
xx = "hello"
End Function


in a cell on sheet one I've got

=Sheet1.xx()


I selected this from the insert -> function -> user defined list
and I get an error saying that the name isn't valid

WHY?



Thanks