Sorry ignore the prevoius one
if Array is passed byRef the no need to declare globale variables
Thanks
~Nilesh
Code:
'Call to the function
Arr=Mytest
msgbox Arr(0)
' Function Defination
Public function Mytest()
Mytest=Array(1,2,3,4)
End Function
if Array is passed byRef the no need to declare globale variables
Thanks
~Nilesh