>>From a method, what is the correct syntax to return a value?
>
>In VB, a function return value is stored in a variable that is the same name as the function:
>
>Function SquareIt(x as Integer) as Integer
> SquareIt = x * x
>End Function
Thanks for the syntax, I searched the help but didn't find anything on it.