Hello
I want changing this code for big data . every time increase data I note code will be slow . currently data are 25000 rows and will increase .
it will filter between two dates .
thanks![]()
Please Login or Register to view this content.
Hello
I want changing this code for big data . every time increase data I note code will be slow . currently data are 25000 rows and will increase .
it will filter between two dates .
thanks![]()
Please Login or Register to view this content.
Last edited by MKLAQ; 09-21-2022 at 06:49 AM.
Hello, you must try an advanced filter ...
thanks , that doesn't solve slowness in big data .
Wrong so you did not ever try it ! I used it with huge data and as your 25K rows are not such big ...
Last edited by Marc L; 09-20-2022 at 05:49 AM.
Hello.
I'm not sure you understood that @Marc L's suggestion was to use Advanced Filter instead of AutoFilter.
In any case, I suggest you look at this method, which is usually efficient:
![]()
Please Login or Register to view this content.
Last edited by beyond Excel; 09-20-2022 at 11:38 AM.
@beyond Excel thanks but this gives the same speed , there is no difference.
Upload sample file...
Good Luck...
I don't presume to know what I am doing, however, just like you, I too started somewhere...
One-day, One-problem at a time!!!
If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
Also....Add a comment if you like!!!!
And remember...Mark Thread as Solved...
Excel Forum Rocks!!!
@sintek file is big can't upload it
OK guys I uploaded file .
According to your attachment an Excel basics VBA demonstration as a very beginner starter :
PHP Code:
Sub Demo1()
[A6].CurrentRegion.Clear
[K1:L1] = sheet1.[A1]
[K2:L2].Formula = [{"="">=""&C2","=""<=""&C3"}]
sheet1.[A1].CurrentRegion.Columns("A:Q").AdvancedFilter 2, [K1:L2], [A6]
[K1:L2].Clear
End Sub
► Do you like it ? ► ► So thanks to click on bottom left star icon ? ★ Add Reputation ? ! ◄ ◄
I did 30K records with the original code: almost instantaneous!
Last edited by JohnTopley; 09-21-2022 at 10:10 AM.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
thanks Marc L not big difference , but I accept your answering![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks