From: XLjedi on
Anyone here have any experience creating XLL's using Visual Studio 2008 C++?
(XLL in terms of native Excel formula development)

....or is this all VBA-related programming discussion.

I need to figure out how to get my UDF to return an array of values. I know
it needs to be an XLOPER12 struct, but everytime I try something like:

return (LPXLOPER12) xlArray;

....all I get in Excel as a return value is "TRUE" when it should be giving
me an array of values.