Enters a formula as an array formula in the range specified or in the current selection
static int FormulaArray( LPCTSTR formula_text, const CXlOper& reference = CXlOper::MissingArg() );
Formula_text is the text you want to enter in the array.
Reference specifies where formula_text is to be entered.
Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.
See the Microsoft Excel on-line Help for full details about this function.