+ Reply to Thread
Results 1 to 5 of 5

Need to maximize efficiency of simple macro because of large excel file

  1. #1
    Registered User
    Join Date
    11-21-2014
    Location
    Dalton, GA
    MS-Off Ver
    2010
    Posts
    13

    Need to maximize efficiency of simple macro because of large excel file

    I wrote a macro that worked relatively well when I used it on 10,000 or so rows. Now that I am using it on 300,000+ rows, I need to make sure it is as efficient as possible. I'm not proficient enough to maximize it's efficiency any further and am looking for help. Any know any ways to increase speed of this task?


    Basically all I need is all rows that have "Closed" in column H to be gone. This has to be done ever day and so efficiency is definitely a factor. I'm trying to automate the process from start to finish so I can focus on other things.


    My initial thought is there way be a way to do this without actually having to select each cell individually?

    ___________________________________________________________

    Please Login or Register  to view this content.
    ____________________________________________________________
    Last edited by ChristopherBrandonKi; 12-04-2014 at 12:40 PM.

  2. #2
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Need to maximize efficiency of simple macro because of large excel file

    Please add code tags as per the forum rules.

    One approach would be to use autofilter. You certainly don't need to select anything, which does slow things down.

  3. #3
    Registered User
    Join Date
    11-21-2014
    Location
    Dalton, GA
    MS-Off Ver
    2010
    Posts
    13

    Re: Need to maximize efficiency of simple macro because of large excel file

    How do I add code tags to the post? I couldn't figure it out.

  4. #4
    Registered User
    Join Date
    11-21-2014
    Location
    Dalton, GA
    MS-Off Ver
    2010
    Posts
    13

    Re: Need to maximize efficiency of simple macro because of large excel file

    Never mind, I figured out adding tags. But where could I go to learn about vba autofiltering? I wasn't aware there was an autofiltering function.

  5. #5
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Need to maximize efficiency of simple macro because of large excel file

    Something to kick off with
    Please Login or Register  to view this content.

+ 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. [SOLVED] Large file size on a simple excel file
    By FieldHaven in forum Excel General
    Replies: 2
    Last Post: 11-16-2014, 01:59 AM
  2. [SOLVED] Trouble running delete rows macro for large excel file
    By MSDemocrat in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-13-2014, 09:13 AM
  3. [SOLVED] Excel crashes while macro processes large text file
    By RitaG in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 10-05-2012, 10:34 AM
  4. Excel file referencing a large central macro file?
    By alanzero in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-25-2011, 08:29 PM
  5. simple macro to move around large spreadsheet
    By TheRetroChief in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-06-2010, 10: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