+ Reply to Thread
Results 1 to 4 of 4

How can I make this code more efficient?

  1. #1
    Registered User
    Join Date
    03-08-2012
    Location
    chicago, illinois
    MS-Off Ver
    Excel 2007
    Posts
    5

    Smile How can I make this code more efficient?

    I am running the following macro....but it takes forever to finish. My thought is that it's the first part (looking up all rows & columns even if there aren't any values). Would making this a dynamic range help? Any VBA wiz out there that can help me?

    Please Login or Register  to view this content.
    Thanks for your help!
    Last edited by Mr.Whiskers; 03-09-2012 at 08:56 PM.

  2. #2
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: How can I make this code more efficient?

    Read the forum rules.
    Putting tags around the code

  3. #3
    Registered User
    Join Date
    03-08-2012
    Location
    chicago, illinois
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: How can I make this code more efficient?

    Okay, I put tags around the code. Anyone out there have any suggestions???

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: How can I make this code more efficient?

    Hello Mr.Whiskers,

    This will run much faster.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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