Re: Basic info I have forgotten....



Bruce,

You assign the return value to the function name. You declare the type of
the function and of it's arguments:

Public Function TwoTimes(input_num As Double) As Double
TwoTimes = input_num * 2
End Function

hth,

Doug

"bruce" <excel.nospam@xxxxxxxxxxxxxxx> wrote in message
news:0uidnczXd_EfpMbfRVn-gQ@xxxxxxxxxxxxxx
>I ould like to write some functions for being used in a work*** function.
>I am forgetting on the syntax of the function block, and how to return the
>value...
>
> Can somebody help?
>
> Thanks
> Bruce
>
>


.