...
Set obj = CreateObject("Excel.Application"
MsgBox obj.Application.Median(1,2,5,7,8)
obj.Quit
Set obj = Nothing
...
The code above works fine to return the Median of the
set of numbers hardcoded. What I really need though
is the ability to use Automation to calculate the Median
of a set of numbers in the Access database. Let's say
I had 50,000 rows worth of values to calculate the
Median on. I would like to be able to pass the recordset
to the above code somehow.
Any help appreciated.
Thanks,
Keith
Set obj = CreateObject("Excel.Application"
MsgBox obj.Application.Median(1,2,5,7,8)
obj.Quit
Set obj = Nothing
...
The code above works fine to return the Median of the
set of numbers hardcoded. What I really need though
is the ability to use Automation to calculate the Median
of a set of numbers in the Access database. Let's say
I had 50,000 rows worth of values to calculate the
Median on. I would like to be able to pass the recordset
to the above code somehow.
Any help appreciated.
Thanks,
Keith