Array in Worksheet Functions STDEV (Excel in C++)
View Single Post
I don't know anything about excel automation, but I would think that you need to pass a "SAFEARRAY".
Look for help on msdn. Here's one with an example: