View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Rick[_37_] Rick[_37_] is offline
external usenet poster
 
Posts: 4
Default vba function returns #name?

It's a simple function, so far:

Function Commission(Fee)
If Fee = 45 Then Commission = 15 Else Commission = Fee * 0.35
End Function

I've named my ranges and the function is in VBAProject | Modules.

I'm at a loss.