Something like...
dim retArray (0 to 1) as Long
reDim retArray ( 0 to 1)
retArray = doSomething(wSheet, searchVal, rngStart, rngEnd) (
Function doSomething(w, srch, begin, end) ()
retArray(0) = 100,000
retArray(1) = 5
doSomething = retArray
End function
The psuedo-code above is presented only to hopefully illustrate the question.
thanks in advance!
Ski
dim retArray (0 to 1) as Long
reDim retArray ( 0 to 1)
retArray = doSomething(wSheet, searchVal, rngStart, rngEnd) (
Function doSomething(w, srch, begin, end) ()
retArray(0) = 100,000
retArray(1) = 5
doSomething = retArray
End function
The psuedo-code above is presented only to hopefully illustrate the question.
thanks in advance!
Ski