Dec 28, 2004 #1 tziviak2 MIS Jul 20, 2004 53 US what's the syntax for returning a value from a function?
Dec 28, 2004 #2 Blorf Programmer Dec 30, 2003 1,608 US Hi. Function blah() blah = 50 end function ChaZ Upvote 0 Downvote
Dec 28, 2004 Thread starter #3 tziviak2 MIS Jul 20, 2004 53 US and then how do I put the value into a variable out of the function? or do I just use "blah" and the value will be there? Upvote 0 Downvote
and then how do I put the value into a variable out of the function? or do I just use "blah" and the value will be there?
Dec 28, 2004 #4 deduct Programmer Jul 5, 2002 78 US Try... Dim dodo As String dodo = blah MsgBox dodo Karl Upvote 0 Downvote
Dec 28, 2004 #5 PHV MIS Nov 8, 2002 53,708 FR how do I put the value into a variable out of the function The syntax is: yourVariable = yourFunction(arg list) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244 Upvote 0 Downvote
how do I put the value into a variable out of the function The syntax is: yourVariable = yourFunction(arg list) Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244