Hi everyone, I've been checking how to pass arrays as parameters to Subs. As I got some errors, try to use the sample in help: Sub Globals Dim arr1(10), arr2(10) Dim tempArray (0) End Sub Sub App_Start SomeSub (arr1()) msgbox(arr1(5)) 'will show 5 End Sub Sub SomeSub (tempArray()) tempArray(5) = 5 End Sub But got the same error. (ErrorArrays.jpg). If I comment the Dim TempArray(0) in Globals, got another error (ErrorArrays2.jpg) So, my question is how do I do to pass arrays to Subs?:sign0085: Thanks in advance, Jes.