How Do I pass a Array into a Custom Function?
I have an Array Defined..
Dim File_List1(4) As String
I populate it and call the function....
ReturnVal = Send_Email_Upload(File_List(4), File_Count, date_time)
My Function started this way...
Public Function Send_Email_Upload(File_List As String, File_Count As Integer, date_time As Double)
File_list is now obviously contains one value. I cant figure out how to define the variable in the function to pass the array. If I put both variables in the watch I can still see the valuse in the first variable and not the second.
Thanks in advance,
VLG711
I have an Array Defined..
Dim File_List1(4) As String
I populate it and call the function....
ReturnVal = Send_Email_Upload(File_List(4), File_Count, date_time)
My Function started this way...
Public Function Send_Email_Upload(File_List As String, File_Count As Integer, date_time As Double)
File_list is now obviously contains one value. I cant figure out how to define the variable in the function to pass the array. If I put both variables in the watch I can still see the valuse in the first variable and not the second.
Thanks in advance,
VLG711