View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
youngman youngman is offline
external usenet poster
 
Posts: 24
Default how to make self-made vba function easily understood.

hi,

i am making some funcyions in excel vba ,when the fun is complicated it is
diffcult to recognize the meaning when i use the function.


for instance
Function CalculateSquareRoot(NumberArg As Double) As Double
If NumberArg < 0 Then
Exit Function '
Else
CalculateSquareRoot = Sqr(NumberArg)
End If
End Function

i mean how to make the meaning of NumberArg be easily recognized.
how to make a hint about the fun.

thank you