How To Master The For/Next Loop | Excel VBA For Beginners

  Рет қаралды 9,771

Excel For Freelancers

Excel For Freelancers

Күн бұрын

Пікірлер: 54
@ExcelForFreelancers
@ExcelForFreelancers 5 ай бұрын
📅Excel Calendar Pro: Your Solution to Stress-Free Scheduling 👉 rebrand.ly/CalendarPro_PinnedComm
@viniciussardenberg706
@viniciussardenberg706 4 ай бұрын
boss!, i've been struggling with te syntax of a dynamic step, so say i want the loop to naturally step the row i'm currently on based on a condition, you have any tips on how i'd go about that? thx for the awesome content hope to soon enroll on the the mentorship
@tadiwazanza1352
@tadiwazanza1352 10 ай бұрын
Just wanna take this opportunity to extend my gratitude to you, Randy. I knew nothing about Excel and once i found you, i have improved significantly. Keep up the good work! Thank you so much!!!!
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
Thanks so much. Very kind of you and I am really glad that i can help and share, and thanks for your continued support
@khadimhussainmomin1315
@khadimhussainmomin1315 10 ай бұрын
Hi I m Momin from India. Thanks for all your videos. Wish multi user application. But in excel it’s not possible so kindly guide us
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
Hi @khadimhussainmomin1315 To share and sync your macro-enabled Excel workbook, please watch this training: kzbin.info/www/bejne/nJCUeaaIbphja6s
@carloscrespo-riera9815
@carloscrespo-riera9815 10 ай бұрын
Randy, I just want to thank you for taking the time sharing your knowledge and skills with all of us.
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
For sure, you are very welcome Carlos, and thanks so much for your comments and continued support. I really appreciate it
@intakhabkhan9649
@intakhabkhan9649 10 ай бұрын
Thank you so much for informative and valuable video, it is very easy to understand by your lecture. Please keep it up continue.
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
For sure, you are very welcome and thanks so much. I am happy to help and share
@Template-analysis
@Template-analysis 9 ай бұрын
Im Vietnamese , This is great seri for beginner! Big thanks for your effort.
@ExcelForFreelancers
@ExcelForFreelancers 9 ай бұрын
Xin Chao. For sure, you are very welcome . Cam on ban (I have lived in Vietnam for 8 years now. Beautiful Country)
@Sebastien_Frederic
@Sebastien_Frederic 10 ай бұрын
Amazing video as always Sir !
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
Thank you so very much, I really appreciate that Sebastien. Thanks for your continued support over the years.
@nerenlakhraj5252
@nerenlakhraj5252 10 ай бұрын
Thank you Randy, this refresher course is very enlightening 😊
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
For sure, you are very welcome Neren. I am happy that I can bring it to you
@SyedMuzammilMahasanShahi
@SyedMuzammilMahasanShahi 10 ай бұрын
Thank you so much Randy for this amazing video.
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
For sure, you are very welcome Syed. I am glad you like the training.
@laminulams8723
@laminulams8723 10 ай бұрын
Thanks a lot. You have been doing so much for us
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
Thank you so very much, I really appreciate that and I am happy to help and share
@nathanielaboagye2259
@nathanielaboagye2259 10 ай бұрын
Indeed grateful, Randy
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
Thank you so very much, I really appreciate that
@waleedalisaeed2671
@waleedalisaeed2671 10 ай бұрын
سيد راندي يقال ان الكنوز توجد في الاوحال وانت كنز في اوحال القنوات المنتشرة على اليوتيوب.
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
Thank you so very much, I really appreciate that Waleed. Very kind of you
@henkvinck888
@henkvinck888 10 ай бұрын
Thanks again Randy for your great explanation and video
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
For sure, you are very welcome Henk. I know these trainings may be a bit basic for you but I really appreciate your continued support
@henkvinck888
@henkvinck888 10 ай бұрын
@@ExcelForFreelancers However, there is 1 question I have. How do I keep a good overview of the VBA section when you have created a lot of macros and how do I keep it well organized. And regarding the beginning of these lessons. It is important to experience it from the Master himself and you learn all the time. Thank you
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
Hi and thanks I have created a playlist for all the Basic VBA trainings here kzbin.info/aero/PLIBeRriXvKzDTzNp5IME4-oXXCrIjvV4z
@johnjacobjinglehimerschmid3555
@johnjacobjinglehimerschmid3555 10 ай бұрын
One of the best things I ever did while programming VBA, and I didn't do it long before getting laid off, was to use AutoHotKey to program to automatically put in the basics of for/next, do, select statements. I could type fornext and pooof it would transform into the perfect for next loop. I also did a forrng which would prompt me to activate the worksheet and select the top of the range and it would automatically format a dynamic range for the fornext loop.
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
oh wow that is a great idea. To be honest, I have not even used the AutoHotkey potential. It can do so much more than the way I am using it. It can literally automate almost everything, not just typing. I have to take some time to explore more of its power. Thanks again for sharing
@nathanielaboagye2259
@nathanielaboagye2259 10 ай бұрын
@@ExcelForFreelancers so humble Randy. Keep it up
@Michael-Hubbard
@Michael-Hubbard 10 ай бұрын
Thanks Randy, another great teaching. I actually thought the mentorship program was going to be like this and work our way up to making programs with what we learned, I'll work on the mentorship program more once I get better at VBA.
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
Hi Michael, that sounds like a good plan. The 132 hour mentorship program would probably well over 200 hours if I was going to includes the basic VBA training, so these beginner VBA Basic lessons should help You may want to consider enrolling in Daniel Strong’s Ultimate Excel VBA 30-hour course, in which I have secured a special discount for Excel For Freelancer Followers right here: bit.ly/VBACourseRandyShared I hope this helps and thanks so much.
@jtwtube
@jtwtube 10 ай бұрын
Thank you soo much !!
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
For sure, you are very welcome and happy to help and share
@hayden6489
@hayden6489 10 ай бұрын
Awesome stuff, as usual. Thanks so much!
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
Thank you so very much, I really appreciate that Hayden and glad I can help and share
@JKGARMENT-z1w
@JKGARMENT-z1w 10 ай бұрын
Hey Randy... Kindly make some video on accounting software using vba user form
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
Hi and thanks so much. I will do my best to get that done in the near future. I have a training with accounting and a userform coming up next week with a Tree View control. I hope this helps and thanks so much.
@j.fabricioelias227
@j.fabricioelias227 7 ай бұрын
Great video. Thank you!
@ExcelForFreelancers
@ExcelForFreelancers 7 ай бұрын
Thank you so very much, I really appreciate that
@vinodrajeshkumar6025
@vinodrajeshkumar6025 10 ай бұрын
Thank you very much 🙏🏽🙂
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
For sure, you are very welcome and I am happy to help and share
@conan7422
@conan7422 10 ай бұрын
The most important thing has been forgotten: At "for", the loop starts with the first value, but it changes with the "next" statement, as long as the value is between min and max, the loop is repeated with the new value. It is therefore possible that a loop never ends if, for example, the loop variable is changed within the loop. Also: the value after exiting the loop with "next" will be outside of the last value: with "for a=5 to 7 step 2", for example, will be end with 9 and not with 7 after next!
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
Thanks so much for sharing. No doubt. Thank you for your Likes, Shares & Comments. It really helps.
@ezellmartin3141
@ezellmartin3141 10 ай бұрын
Very informative
@ExcelForFreelancers
@ExcelForFreelancers 10 ай бұрын
Thank you for the kind words! I really appreciate your support and I'm glad you found the video helpful.
@gerardvaneggermond2067
@gerardvaneggermond2067 3 ай бұрын
Hello, I have a problem, I have a sum in C3, now I want to copy it to the next column and then add a cell to the next column up to column DW, what is the best way to do this, can you give an example, thank you
@ExcelForFreelancers
@ExcelForFreelancers 3 ай бұрын
Hi and thanks you can link to the cell using an absolute reference such as =$C$3 then use a relative reference for the remaining cells. I hope this helps. Should you have any additional questions, please join our Excel For Freelancers Facebook Group in which we have thousands of Excel experts who can guide and help you with your Excel Questions. Just post your detailed question, and upload your current workbook, or post detailed screenshots so we can get you the answers you need, fast. Please join here: bit.ly/groupexcel
@kalpanathakur6300
@kalpanathakur6300 8 ай бұрын
Sir in 2nd example why did you take Range as a type of variable and what is works and After that why did you write "For Each Cell " what is mean
@ExcelForFreelancers
@ExcelForFreelancers 8 ай бұрын
Hi and thanks the Range will allow us to loop through specific cells within a range and the "For Each Cell" allows the macro to check each cell in the range. I hope this helps and thanks so much.
@AyushmanThakur-mo3ee
@AyushmanThakur-mo3ee 8 ай бұрын
@@ExcelForFreelancers But in place of "For Each Cell" we can Specify the range also suppose A1:D10 then also it will go to the each cell i am getting confusion in this Thank you....
@ExcelForFreelancers
@ExcelForFreelancers 8 ай бұрын
Hi and thanks for your feedback. I know it can be a bit complex and I will create additional videos in the near future to make that clear. I hope this helps and thanks so much.
@kalpanathakur6300
@kalpanathakur6300 8 ай бұрын
​@@ExcelForFreelancers Thank you so much sir ☺️
Unleash the power of VBA: Mastering cells & ranges + FREE TEMPLATE
20:48
Excel For Freelancers
Рет қаралды 9 М.
Advanced Filters: Master These Simple Filtering Hacks In Excel VBA Today
23:26
Excel For Freelancers
Рет қаралды 12 М.
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24
SISTER EXPOSED MY MAGIC @Whoispelagheya
00:45
MasomkaMagic
Рет қаралды 10 МЛН
啊?就这么水灵灵的穿上了?
00:18
一航1
Рет қаралды 65 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 262 #shorts
00:20
VBA For Loop - A Complete Guide
12:36
Excel Macro Mastery
Рет қаралды 82 М.
VBA For Beginners: How To EASILY Master The If/Then Statement
26:49
Excel For Freelancers
Рет қаралды 10 М.
I Built a Modern Listbox UI for Excel VBA
14:13
Excel Macro Mastery
Рет қаралды 6 М.
5 Excel Tools Most Users Never Think to Use (Files Included)
12:34
MyOnlineTrainingHub
Рет қаралды 234 М.
VBA - Looping through a Table (ListObject) and deleting a row
8:49
Do You Need to SWITCH from Excel VBA Macros to Office Scripts?
13:02
Leila Gharani
Рет қаралды 382 М.
How To Master Arrays In Excel VBA + FREE MACROS & CHEAT SHEET
29:09
Excel For Freelancers
Рет қаралды 8 М.
Python in Excel vs. VBA - What You Should Learn in 2024!
10:05
David Langer
Рет қаралды 52 М.
7 Advanced PivotTable Techniques That Feel Like Cheating
16:07
MyOnlineTrainingHub
Рет қаралды 64 М.
VBA For Beginners: Mastering Variables Like A Pro
24:30
Excel For Freelancers
Рет қаралды 17 М.
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24