11-01-2011, 05:59 PM
(This post was last modified: 11-01-2011, 06:15 PM by ravi.gajul.)
Hi Rachna ,see if the below code helps.Its not throwing type Mismatch error
Regards,
Ravi
Code:
public Arr
arr=Mytest
msgbox Arr(0)
Call mytest1( arr)
' Function Defination
Public function Mytest()
Mytest=Array(1,2,3,4)
End Function
Public function mytest1(Byref arr )
msgbox arr(1)
End Function
Ravi