Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to write a function that will return multiple calculated
values. One way is to use the Array() function, which creates a variant array, such as: Function test() Dim y As Variant y = Array("a", "b") test = y End Function However, I want to be able to output two CALCULATED values for y(1) and y(2). If I try to do this in the code above, e.g. if ... then y(1)=26, I get an error. Am I missing somthing obvious? Thanks in advance for any good ideas. Tom Kreutz |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find a Match in Multiple Places & Return Multiple Values | Excel Worksheet Functions | |||
Lookup in Multiple Columns, Return Multiple Values | Excel Worksheet Functions | |||
Multiple conditions and multiple return values | Excel Worksheet Functions | |||
Search multiple values to return single values | Excel Worksheet Functions | |||
How to look up and return multiple values | Excel Worksheet Functions |