Thread: Memory Problem
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ExcelMonkey[_21_] ExcelMonkey[_21_] is offline
external usenet poster
 
Posts: 1
Default Memory Problem

I keep getting an out of memory error (error 7) when I run this.

Dim DataArray As Variant
Din AMax As Long
Dim BMax As Long
Dim CMax As Long

AMax = 65000
BMax = 200
CMax = 1

ReDim DataArray(1 To AMax, 1 To BMax, 1 To CMax)

Am I simply running too many loops for excel to handle?


---
Message posted from http://www.ExcelForum.com/