If I understand the question right, this is easy... Define a matrix as an array of doubles
for example Dim M(2,2) as double This will be a 3X3 matrix. You can fill in the values any way you want. The determinant of this matrix is found by calling x = application.MDETERM(m) On Sep 29, 6:23 am, ASD <[EMAIL PROTECTED]> wrote: > Hi All, > > In Excel, the "Mdeterm" function returns the matrix determinant of an > array. > I have a program which I needs the capability to combine the algorithm > of the MDETERM function. > > Does anyone have any ideas about the VBA code of this? > > Regards, > > Asd --~--~---------~--~----~------------~-------~--~----~ Visit the blog to download Excel tutorials at http://www.excel-macros.blogspot.com To post to this group, send email to excel-macros@googlegroups.com For more options, visit this group at http://groups.google.com/group/excel-macros?hl=en Visit & Join Our Orkut Community at http://www.orkut.com/Community.aspx?cmm=22913620 Visit the blog to download Excel tutorials at http://www.excel-macros.blogspot.com To Learn VBA Macros Please visit http://www.vbamacros.blogspot.com To see the Daily Excel Tips, Go to: http://exceldailytip.blogspot.com -~----------~----~----~----~------~----~------~--~---