+ Reply to Thread
Results 1 to 3 of 3

Macro tuning

  1. #1
    Registered User
    Join Date
    12-11-2010
    Location
    london,england
    MS-Off Ver
    Excel 2003
    Posts
    14

    Question Macro tuning

    hi

    I am pasting code below.Can anybody please help me to reduce the performance.Right now it is taking 20 secs for 90000 rows of data.Can it be reduced furthur in case of perfomance by modifying the code using any other functions.


    Her we have used Countif function,so can be furthur tuned and make the macro to run at a faster rate.


    Please help me at the earliest.


    Please Login or Register  to view this content.
    Thnak you.
    Last edited by shg; 12-26-2010 at 10:42 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Macro tuning

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Macro tuning

    Maybe you could explain what the code is doing so we don't have to reverse-engineer it, lauren.

    I will say that the code commits the cardinal sin of modifying a for/next loop control variable (rownumber) within the loop.
    Entia non sunt multiplicanda sine necessitate

+ 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