Function and Multidimensional Arrays

crhodus

Registered User.
Local time
Today, 04:51
Joined
Mar 16, 2001
Messages
257
I don't work with functions very much and I was wondering if someone can help me with how I need to setup the beginning of my function. I want to pass a string to my function and I want the function to return a multidimensional array back to me. Here is what I'm trying to do:

Public Function MultiAddress(FormAdd As String)() As String

End Function

Can someone tell me what I'm doing wrong?

Thanks,
crhodus
 
I realized what I was doing wrong. I can't pass an array to a function BUT I can use a variant in the function which will allow the array to be returned back to me.
 

Users who are viewing this thread

Back
Top Bottom