+ Reply to Thread
Results 1 to 3 of 3

Can anyone tell me how to speed up this array?

  1. #1
    Registered User
    Join Date
    02-14-2013
    Location
    arlington
    MS-Off Ver
    Excel 2010
    Posts
    20

    Angry Can anyone tell me how to speed up this array?

    I am dealing with roughly 17000 rows and 30 columns. I am relatively new to using arrays and despite all my research I dont feel like I have a firm enough grasp of them to tell whether the arrays in the code below are any good. the entire process takes about 45 seconds. I think it is getting hung up when I am reading back and forth with the sumif function. I know the code is long and probably does not make much sense without the workbook but I am really just looking for someone to tell me if there is something different I could do with the arrays that would be better. Thanks for the help.
    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Can anyone tell me how to speed up this array?

    Are you sure it's the arrays that are slowing things down?

    There is quite a lot of code before the part that handles the arrays is reached.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    02-14-2013
    Location
    arlington
    MS-Off Ver
    Excel 2010
    Posts
    20

    Re: Can anyone tell me how to speed up this array?

    The other parts are just designating columns to be referred to. I just ran that part with the arrays commented out and it came in at .40 seconds. Sometimes the code seems to fall out somewhere and my columns do not get populated. I am getting a run time error 7 out of memory and my array will not get pasted. I dont understand why this is.
    Last edited by Ppessina; 05-13-2014 at 08:24 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Array looping, increase speed of array macro
    By techrcn in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-27-2013, 05:33 AM
  2. speed up sum if array formula with VBA??
    By jed38 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-30-2013, 01:51 PM
  3. How to speed up this macro? How to use an array?
    By djvino in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2012, 07:39 AM
  4. Speed up max if array
    By reddwarf in forum Excel General
    Replies: 9
    Last Post: 03-02-2011, 08:20 AM
  5. Will an Array speed this up?
    By Mase in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-04-2005, 06:53 AM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1