I try to declare the following array in Excel VBA 2010 on a 64 bit machine with 16 GB RAM:
Public MyArray(1 To 100, 1 To 100, 1 To 6000, -2 To 2, ,-2 to 2, 1 To 3) As Double
If I run the code Excel crashes immediately.
If I reduce the size of the array into:
Public MyArray(1 To 100, 1 To 100, 1 To 6, -2 To 2, ,-2 to 2, 1 To 3) As Double
Everything runs fine.
Anyone knows the cause of the crash in the first array or how to solve it?
I think it is strange Excel cannot handle the array due to 16 GB of RAM?
Thank you!
Mike