Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 354
Default Unable to get the MINVERSE of Worksheet Function Class ?


Can someone tell why this routine does not work for an array larger than 50?
thanks

Sub inve()
Dim Arr1(1 To 255, 1 To 255) As Double
Dim Arr2 As Variant
Dim R As Long
Dim C As Long
'values
For i = 1 To 250
For j = 1 To 250
Arr1(i, j) = Sheets("abc").Cells(i, j)
Next j
Next i
Arr2 = Application.WorksheetFunction.MInverse(Arr1)
'End Sub




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 762
Default Unable to get the MINVERSE of Worksheet Function Class ?

Daniel -

Browse to www.microsoft.com, click Support, and search for "excel minverse,"
and you'll see
http://office.microsoft.com/en-us/ex...091791033.aspx
where it says, among other things, "The size of the array must not exceed 52
columns by 52 rows. If it does, the function returns a #VALUE! error."

- Mike Middleton
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel


"Daniel" wrote in message
...

Can someone tell why this routine does not work for an array larger than
50?
thanks

Sub inve()
Dim Arr1(1 To 255, 1 To 255) As Double
Dim Arr2 As Variant
Dim R As Long
Dim C As Long
'values
For i = 1 To 250
For j = 1 To 250
Arr1(i, j) = Sheets("abc").Cells(i, j)
Next j
Next i
Arr2 = Application.WorksheetFunction.MInverse(Arr1)
'End Sub



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 354
Default Unable to get the MINVERSE of Worksheet Function Class ?


Mike,
It was good to be true... I guess the same with MMULT
why MS does it that way, is there a hard limitation?
we are not talking about memory here
thanks anyway
Dan




"Mike Middleton" wrote:

Daniel -

Browse to www.microsoft.com, click Support, and search for "excel minverse,"
and you'll see
http://office.microsoft.com/en-us/ex...091791033.aspx
where it says, among other things, "The size of the array must not exceed 52
columns by 52 rows. If it does, the function returns a #VALUE! error."

- Mike Middleton
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel


"Daniel" wrote in message
...

Can someone tell why this routine does not work for an array larger than
50?
thanks

Sub inve()
Dim Arr1(1 To 255, 1 To 255) As Double
Dim Arr2 As Variant
Dim R As Long
Dim C As Long
'values
For i = 1 To 250
For j = 1 To 250
Arr1(i, j) = Sheets("abc").Cells(i, j)
Next j
Next i
Arr2 = Application.WorksheetFunction.MInverse(Arr1)
'End Sub




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to get the dropdowns property of the worksheet class??? Simon Lloyd[_726_] Excel Programming 13 May 22nd 06 11:24 PM
Run-Time error '1004: Unable to get the PivotTables property of the worksheet class magarnagle Excel Programming 4 May 19th 06 11:20 AM
Run time error 1004 - unable to get the chartObjects property of the worksheet class hedgehog1 Excel Programming 1 April 10th 06 08:10 PM
Error: Unable to get the OLEObjects property of the worksheet class Grant Excel Programming 2 August 6th 04 02:20 PM
Run-time error '1004' - Unable to set the Visible property of the Worksheet class Shalin Chopra Excel Programming 3 November 25th 03 08:38 PM


All times are GMT +1. The time now is 11:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"