Re: Basic info I have forgotten....
- From: "Doug Glancy" <nobodyhere@xxxxxxxxxxxxxxxx>
- Date: Mon, 11 Apr 2005 20:51:48 -0700
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
>
>
.
- Follow-Ups:
- Re: Basic info I have forgotten....
- From: bruce
- Re: Basic info I have forgotten....
- References:
- Basic info I have forgotten....
- From: bruce
- Basic info I have forgotten....
- Prev by Date: How Can I send customized email content by Excel VBA
- Next by Date: RE: Change Cell Background color when Cell changes
- Previous by thread: Basic info I have forgotten....
- Next by thread: Re: Basic info I have forgotten....
- Index(es):