+ Reply to Thread
Results 1 to 2 of 2

Improve VBA search

  1. #1
    Registered User
    Join Date
    02-19-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    71

    Improve VBA search

    Hi Friends,

    I have a problem with excel VBA, please advice me how to modify the codes as efficient.

    1 worksheet is customer settlement database. I have 4000 customer records.

    When I enter customer number I could get specific row of data such as Date of settle, Amount settled, etc.

    Extracted code is as follow.
    Please Login or Register  to view this content.
    This code work perfectly. But the problem is when I press button, every time it goes 4000, 5000 row of data. My problem is it takes more time to compile. Is there any efficient way to handle it? please help me. Every time when i press button it should check all 4000 row of records, because 1 customer settle different amount in different dates. Thanks
    Last edited by Leith Ross; 05-11-2013 at 01:52 PM. Reason: Added Code Tags

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Improve VBA search

    You have lots of select in your code and these slow down the code. Please attach a sample book. Go to advance then attachment.

+ 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