February 25th, 2012, 5:23 pm
Hi all,He're what I've done :I've created a class library project inc #, with the following code : You can see a function doing a multiplication (MultiplyNTimes), an other (CalculateArea) taking a range and calculating it's "area", and a last one (MatrixMultiplication) taking to ranges which shoul symabolize matrices, and trying to output a range containing the product of the two matrices, but I cant succeed in converting myArray in whatever outputing something in excel when I use the MatrixMultiplication function...In fact, i coul succeed in outputting a "static" range, by for instance putting object[,] myArray = {{2,3}{3,8}} and a return myArray, but the range to be outputted should depend on the size of ranges range1 and range2, so the object[,] should be dynamic...(When I compile the code, in excel I add an automation reference to AutomationAddin.MyFunctions so that I could use my UDF's in Excel.)Thx
Last edited by
rockinsquat on February 24th, 2012, 11:00 pm, edited 1 time in total.