View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
RSunday RSunday is offline
external usenet poster
 
Posts: 19
Default Spreadsheet does not recognize my VBA function

I have written a simple function (just for test) (opening VBA with alt-F11):

Public Function XX()
XX = 7.45
End Function

but when I use it in a cell - it just shows #NAME?

How do I make the function known to my sheet?

What could be wrong?