View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mike grasso mike grasso is offline
external usenet poster
 
Posts: 2
Default call a vb function from a cell

Hi

I have a function that i want ot use in a xcel formula?
can this be done
my function...
Public Function myfun(str As String) As String
myfun = "xxxx"
End Function

How do i call it from a cell
i tried in excel spreadsheet cell
=myfun("helloworld")
but this does not work is it possible?

thanks mike