David
You cannot return more than one variable from a function.
What you can do though is return a variant containing an array. Thi
array can contain any number of values that you might want to retun.
Remember, a variant can contain any data type and that includes a
array of variants as well.
Hope that helps!
Best regards
Deepak Agarwa
--
agarwaldv
-----------------------------------------------------------------------
agarwaldvk's Profile:
http://www.excelforum.com/member.php...fo&userid=1134
View this thread:
http://www.excelforum.com/showthread.php?threadid=48611