Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

returning an array cont.

Status
Not open for further replies.

wrbodine

Programmer
Aug 24, 2000
302
US
How can I return an array from a function and assign it to another array

Function myFunc(param1, param2)

dim array(11)
...
myFunc = array
End Function

....
dim otherArray(11)

otherArray = myFunc(param1, param2) ' I get a type mismatch error on this line

Thanks,
Ray
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top