Hiii,
I am beginner ..
I want to learn VBA loops, I have searched on net but not able to understand as there is no explanations.. Can anyone attach excel workbook with all types of loops and all types of use of loops with small examples....
Hiii,
I am beginner ..
I want to learn VBA loops, I have searched on net but not able to understand as there is no explanations.. Can anyone attach excel workbook with all types of loops and all types of use of loops with small examples....
Cheers!
Deep Dave
Thank you very much
Only following two didnt understand..
Sub LoopTime_Period() and Sub LoopTime_Count()
Last edited by mangesh.mehendale; 07-06-2015 at 06:49 AM.
..and a word of caution. Learn about loops by all means. They have their uses. But don't get carried away with them.
With large ranges to process they can be very slow to process since the code has to jump backwards and forwards between the Excel Application and VBA with a time overhead each pass through the loop. And for many tasks they just aren't necessary. I've lost track of the number of times I see a looping procedure being recommended when the more elegant, simpler and quicker approach of using standard Data Filtering in a macro really is the best way to handle large ranges of data.
Richard Buttrey
RIP - d. 06/10/2022
If any of the responses have helped then please consider rating them by clicking the small star iconbelow the post.
Totally agree with Richard Buttrey!
I was stuck up with Looping myself.. All my solutions used Loops, even when there were far better ways.
Loops are important, but there are other ways which should not be ignored..
Thats great... Thank you .... I will keep this in mind...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks