Consulting

Results 1 to 3 of 3

Thread: Memory limits

  1. #1
    VBAX Regular
    Joined
    Aug 2010
    Posts
    10
    Location

    Question Memory limits

    I run Excel version 14.0.4760.1000 (32 bit) which is a part of MS Office Professional 2010. My macro creates some very large two dimensional arrays of integers. The size of the second parameter is 13, but I had to limit the size of the first parameter to 11,000,000 because if the array gets somewhat larger than that, an out of memory error is thrown.

    Question: Is it possible to tweak something so that the array can be larger?

  2. #2
    so there are 13 columns and 11 million rows?
    you might find using recordset interesting.

  3. #3
    VBAX Regular
    Joined
    Aug 2010
    Posts
    10
    Location
    I 'cheated' - rewrote the code to add the rows to a new spreadsheet every 500,000 rows; so hopefully things never get too large.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •