Excel Macros & VBA - Tutorial for Beginners

  Рет қаралды 1,091,205

Kevin Stratvert

Kevin Stratvert

Күн бұрын

🔥 Learn Excel in just 2 hours: kevinstratvert.thinkific.com
In this step-by-step overview, learn how you can eliminate repetitive and boring tasks in Microsoft Excel using something called macros and VBA, or Visual Basic for Applications. With macros, you can automate your work in Excel, which will help you save time and effort. Macros are an extremely powerful tool that will take your usage of Excel to the next level.
In this video, we'll start with how to:
• Record a basic macro
• How to run your macro
• How to test your macro
• How to access your macro in any spreadsheet
• And even how to add if statements and loops, and we'll look at multiple types of loops
👋 Additional resources
- Sample spreadsheet to follow along: 1drv.ms/x/s!AmxrofZZlZ-whM1lH...
- Excel shortcut keys: support.microsoft.com/en-us/o...
- Learn the fundamentals of Excel in just 2 hours: kevinstratvert.thinkific.com
⌚ Timestamps
0:00 Introduction
0:55 What is a macro & when should you create one?
3:28 Record basic macro
6:47 Run your macro
9:55 Save macro enabled workbook
10:30 Open macro workbook
11:12 Absolute vs. relative references
13:18 Edit the VBA code that powers your macro
18:32 Turn on developer tab
19:32 Personal macro workbook for anywhere access
22:11 View VBA code while recording
24:02 If statement
26:57 For loop
30:50 Input box
33:00 Do while & do until loops
35:57 Bring it all together example
47:01 Combine macros into one
48:33 Turn off screen updating
49:23 No undo for macros
49:42 Wrap up
📃 Watch related playlists
- Playlist with all my videos on Excel: • ❎ How to use Excel
🚩 Connect with me on social
- LinkedIn: / kevinstratvert
- Twitter: / kevstrat
- Facebook: / kevin-stratvert-101912...
- TikTok: / kevinstratvert
- Instagram: / kevinstratvert
🔔 Subscribe to my KZbin channel
kzbin.info?...
🎬 Want to watch again? Navigate back to my KZbin channel quickly
www.kevinstratvert.com
🛍 Support me with your Amazon purchases: amzn.to/3kCP2yz
⚖ As full disclosure, I use affiliate links above. Purchasing through these links gives me a small commission to support videos on this channel -- the price to you is the same.
#stratvert

Пікірлер: 407
@KevinStratvert
@KevinStratvert 2 жыл бұрын
🏫 Learn the fundamentals of Excel in just 2 hours: kevinstratvert.thinkific.com ⏭ Watch next - playlist with all my free tutorial videos on how to use Excel: kzbin.info/aero/PLlKpQrBME6xLYoubjOqowzcCCd0ivQVLY
@thegossiploverz
@thegossiploverz 2 жыл бұрын
Can you make solver run in loop for all the rows in excel? Looking forward. TIA!
@muletowndumpsters
@muletowndumpsters 5 ай бұрын
Finally, someone my brain can grasp. Looping has had me hostage for years. Thanks a bunch.
@rashidhublikar9707
@rashidhublikar9707 15 күн бұрын
##
@zacharykrawczyk1218
@zacharykrawczyk1218 2 жыл бұрын
As someone with ADHD I really appreciate your speaking style, the pacing between words is just right! Everything spoken has meaning and is very clearly said. A+ tutorial!
@rebeccadoll-suppes832
@rebeccadoll-suppes832 2 жыл бұрын
Yes! This is the "secret sauce" to this video - sets it above the rest for that reason alone.
@qrsimon
@qrsimon Жыл бұрын
Coowl
@nguyen3276
@nguyen3276 Жыл бұрын
Him: *pauses* My brain: we can totally apply this to….. oh wait there’s more, write that down!!!
@mala3167
@mala3167 Жыл бұрын
Everybody be diagnosing themselves with ADHD these days :(
@_DinoHat_
@_DinoHat_ Жыл бұрын
Omg is that a thing?, is that why when someone says three sentences without a break i cant keep track?
@tocodelray
@tocodelray 7 ай бұрын
I subscribed because of how clear and useful this was. No distractions, no jokes, just an hour of solid information. I hope every educational youtuber follows this formula. I struggle to pay attention and your style kept me on track the whole video.
@saumitrad
@saumitrad 2 жыл бұрын
You, Kevin, are a fantastic teacher. Unlike most of these youtube tutorial - you do not waste much time on expounding, you do not miss any beat / important step. You are exceptionally intuitive & exhaustive - any question that I had, you were on it just a second away. Keep up the great work.
@omarad
@omarad Жыл бұрын
Simply AMAZING! The way you structure your videos by starting with basics and then adding up topics one by one is GREAT! Thank you Kevin!
@enerialufan
@enerialufan 2 жыл бұрын
I recently started my data analysis journey and I have been waiting for this video for forever. Thanks Kevin!
@mvc9871
@mvc9871 2 жыл бұрын
You, Kevin, are awesome! I wish every one of my teachers could communicate information as easily as you do. You are gifted, and you have made me love Excel. Thank you!
@chiomakamalu2890
@chiomakamalu2890 9 ай бұрын
I'm glad I found this KZbin channel. Kevin does not miss anything and keeps it on point with relevant information.
@alvixtan1617
@alvixtan1617 2 жыл бұрын
It's difficult to have one video in KZbin with no dislikes. You deserve this.
@hollyrace3998
@hollyrace3998 11 ай бұрын
I have watched, and rewatched, so many of your videos. I love your playful tone and fun sample sheets to help viewers to learn by watching and doing, whatever works best for them. Your video on SQL literally helped me get a promotion. I am constantly sending links to others who want to learn more.
@ricardoluizmarcello
@ricardoluizmarcello Жыл бұрын
Kevin, I appreciate a lot the way you bring us all this information! I have no words to thank you. I wish you all the success you deserve
@SavageGothamChess
@SavageGothamChess 2 жыл бұрын
The Legend is back with more Excel videos!!!! 0:00 Can feel the excitement when you said today. Usually when making long videos at around the last couple of minutes you wouldn't understand anything because the person who records starts to get frustrated and tired. But on Kevin's Videos it is the opposite. Well explained video. And yes I am still not a wizard in Excel but I am nearly there thanks to you. You are not on the way to a million, you are sooo close to 1 million subscribers. Always here to support you!!!
@KevinStratvert
@KevinStratvert 2 жыл бұрын
😁
@Gaboch8719
@Gaboch8719 2 жыл бұрын
What a professional video made by a genuine professional! Congratulations and thanks a lot Kevin!
@NZDLo
@NZDLo 9 ай бұрын
This was fantastic - I've used Excel since inception, but have never really gotten into macros. Love your teaching style - will go look for more of your videos now!
@morgannweke7771
@morgannweke7771 2 жыл бұрын
This was super helpful, Kevin! Thank you for taking the time to share quality content.
@jamesstreeter43
@jamesstreeter43 Жыл бұрын
I have been using Excel for over 20 years and I have learned so much from this video. Your teaching style really works for me, thank you.
@cpt.benfox
@cpt.benfox 2 жыл бұрын
Great job Kevin! As always each video is informative and extensively educational.
@hanzelpalacio3756
@hanzelpalacio3756 11 ай бұрын
I am so thankful that I stumbled upon your video, Sir Kevin. You make complicated applications easier to understand. There is obviously the most important ingredient in the way you present, patience. Truly, your way of teaching is so God-like. Thank you to the highest level.
@jamesarchieodena4107
@jamesarchieodena4107 9 ай бұрын
This is one of the three Excel vloggers that I always watch together with lyka and kenji because of its pacing and very informative and real life based scenarios. ❤❤❤
@HarjeevanSingh-Tech
@HarjeevanSingh-Tech 2 жыл бұрын
Amazing video Kevin and it's really great to see you again! 😁😁 Macros are really awesome because it can make a repetitive task extremely easy 😎
@TylerStanczak
@TylerStanczak 2 жыл бұрын
Such a helpful tutorial. None of us enjoy doing those repetitive tasks. Thanks Kevin :)
@TruthofDilly
@TruthofDilly 2 жыл бұрын
Really like the way you teach, your vids have taught me so much…you are someone that is truly intelligent as you can make complex things simple, not msn7 excel teachers do this, your on of the very few do thank you, I’m so grateful to you.
@proudlycanadian3023
@proudlycanadian3023 Жыл бұрын
I am so amazed and astounded of how impeccably flawless/immaculate of my knowledge if Visual Basic is! It is of absolute perfection! Thank you for the perfect lesson!
@makarand1985
@makarand1985 Жыл бұрын
Kevin you are the BEST teacher I come across till date GOD BLESS YOU !!!
@579maheshreddy4
@579maheshreddy4 11 ай бұрын
This is the best course that I have ever seen on KZbin for excel vba, Thank you so much my man for helping me to understand the macros 😊😊
@alihameed5389
@alihameed5389 2 жыл бұрын
An excellent educator, thanks for all the work you are doing man!
@adelle1441
@adelle1441 2 жыл бұрын
So far one of the BEST tutorial video and Trainer in KZbin. Very informative and well explained with the right pace and level of enthusiasm.
@FTSociety
@FTSociety 11 ай бұрын
Thank you! I've been reluctant to learn VBA because it looked complex, but your explanation was very clear and easy to follow, now I want to learn more, thank you!
@mariamarrero6611
@mariamarrero6611 6 ай бұрын
One of the best and well explained videos teaching VBA! thumbs up!
@TheSuperEmpoleon
@TheSuperEmpoleon Жыл бұрын
This is probably the best tutorial video I’ve ever watched. Thanks!
@rotethongvanit
@rotethongvanit Жыл бұрын
Thanks Kevin for the step by step tutorial.
@elsietang7039
@elsietang7039 Жыл бұрын
Thanks Kevin. You are really a great teacher. I really like watching your video. Very informative and no non-sense at all. Very clear. 👍
@SheikhMuhammadNawaz
@SheikhMuhammadNawaz 2 жыл бұрын
The way you explain is awesome..... I really like your way of teaching and making us understand.... Thank you!
@johndn9238
@johndn9238 2 жыл бұрын
This is really brilliant for macro novice like me and going to save me tons of time! Thank you very much indeed.
@aveerajsharma
@aveerajsharma 2 жыл бұрын
Wow!!👌 Great to hear this voice again By the way thanks for sending that post in which you informed us that you are currently spending some time with your family, else I was worried a bit
@hankgrimes1806
@hankgrimes1806 2 жыл бұрын
Hello, Kevin. I've watched many videos promising to "teach" macros and VBA, and I have to say that yours are some of the very best! Do you have any courses planned where you offer a deeper dive into VBA? I'd be happy to sign up for a full course if you were to offer any!! Thank you, and I hope to see more
@maximilianosalibe1710
@maximilianosalibe1710 2 жыл бұрын
I really loved this video, Kevin! It's specially helpful to understand and take profit of the advantages of using Excel!
@glengreen8
@glengreen8 Жыл бұрын
❤ really valuable lesson. Macros are awesome and you are great teacher. Much respect.
@lawmontgreen8860
@lawmontgreen8860 2 жыл бұрын
What an amazing tutorial. I’m learning so much. Thank you.
@arlenedahlcm7169
@arlenedahlcm7169 2 жыл бұрын
This is very informative and certainly well organized. It offers some excellent tips, too. Keep it up!
@bencecserkuti7110
@bencecserkuti7110 Жыл бұрын
The number of times I am watching you, I am considering you for the Employee of Year award even though you are not working here.
@OrientalMelodies2010
@OrientalMelodies2010 Жыл бұрын
Your way of explaining the subject is outstanding, many thanks for the awesome tutorial :)
@vramarathnam
@vramarathnam 2 ай бұрын
Thank You Very muck Kevin. Excellent teaching gradually increasing the syllabus ! i am an xl user at a surface level . Thanks to your video i did macros yesterday and happy to see it working. Thank You once again
@colinracheljustpootling7468
@colinracheljustpootling7468 2 жыл бұрын
Wow! Just brilliant and so well explained. Thank you
@johnsamte830
@johnsamte830 28 күн бұрын
Great video Kevin. Thank you!
@sairaj6875
@sairaj6875 Ай бұрын
Thank you so much, Kevin. This is so helpful.
@kwakupoku3719
@kwakupoku3719 2 жыл бұрын
God richly bless you. You make these scary excel tools really easy. Here I am on my computer easily doing pivot table, xlookup and macros with ease. This is the course I took in college but rate my excel experience as intermediate. Thank you and thank you again.
@sameertawfiq3420
@sameertawfiq3420 2 жыл бұрын
Thank you so much!! I learn a lot through your videos even things I thought I already know.
@mick3yes
@mick3yes Жыл бұрын
Great video Kevin, you are such a good teacher! Thanks again!
@akashsharma4746
@akashsharma4746 2 жыл бұрын
Time well spent 🔥, learned a lot about Marcos !
@HusamJamal
@HusamJamal Жыл бұрын
One of the best videos that explain such topic. Thank you!
@diwakarmishra2241
@diwakarmishra2241 3 ай бұрын
Thanks man. This is a good video to start with basics.
@YeungKaHung
@YeungKaHung 2 жыл бұрын
Extremely useful Excel tutorial. Great thanks!
@9102010
@9102010 Ай бұрын
Hi Kevin, Thank you very much for the good explanation. It was very easy to follow, very knowledgeable, and above all a good voice and the right speed for me. PERFECT!
@fsaforosaforo6338
@fsaforosaforo6338 8 ай бұрын
Yet another great video on all things Excel. You are my go to guy for Excel thank you so much for producing these great videos. Flo
@rohitjain6379
@rohitjain6379 Жыл бұрын
Thank you dearest Kevin. This video was helpful and I absolutely loved it
@SayedSquadOfficial
@SayedSquadOfficial 11 ай бұрын
I wish youtube had multiple or unlimited likes option. I really want to give this guy a million likes. Great way of Explaninig sir. Please do not stop uploading these videos. Really helpfull. Thanks a lot...
@lovelifebrown
@lovelifebrown 2 жыл бұрын
Thank you so much!!!! I have subscribed and am excited about following you!@!
@user-rt2kp1uk1u
@user-rt2kp1uk1u 9 ай бұрын
Thank you, Kevin. Very helpful. I learned a lot from this video.
@georgywordrighter5662
@georgywordrighter5662 2 жыл бұрын
Cannot begin to express how impressed I am . I was given someone's spreadsheets to update and one of course was misaligned as stacked data. I was forced to cut and paste incoming additions in the stacked data (sadly not cookies)and spent hours until now. Bam.... I can do this in no time - meaning more coffee breaks for me, smiles from the boss and I wish I could send Kevin one of his choice (coffee not boss needless to say)
@sreerajpr4124
@sreerajpr4124 Жыл бұрын
Kevin, you r one of the best teachers❤.... Thanks for the superb video
@yosef-yosef9414
@yosef-yosef9414 2 жыл бұрын
thank SO MUCH for this Tutorial Video in VBA
@ramachandranv1796
@ramachandranv1796 2 жыл бұрын
Many thanks. Awesome content and very well structured.
@hassanalianees5530
@hassanalianees5530 5 ай бұрын
Big fan of your videos. Thanks Kevin
@javidparsa2199
@javidparsa2199 2 жыл бұрын
Hi Kevin, Thank you for your teaching method You speak very fluently and understandably, although I do not have a good level of English, but I easily understood you all the time teaching. I will definitely follow you and see more videos from you. Good Luck friend:)
@tahamadani2462
@tahamadani2462 Ай бұрын
You are a great teacher. Thank you for the video
@paladinhobbies5206
@paladinhobbies5206 10 ай бұрын
This is super amazing!!!! A million thanks to you ser!!!
@nilamnighot8540
@nilamnighot8540 7 ай бұрын
Very Nice video that I have ever seen. I had so much confusion in the macro now it is cleared. I like the way you are explaining complex topics so easily. appreciate all your efforts.
@jerrymartinez1048
@jerrymartinez1048 3 ай бұрын
This was very helpful. Thank you!
@user-zp5vk2mp4c
@user-zp5vk2mp4c Жыл бұрын
I can't believe how interesting you've made this. You are a god.
@rotethongvanit
@rotethongvanit 2 жыл бұрын
Very clear explanation. Make it much easier, thanks.
@chajam
@chajam 2 жыл бұрын
thank you so much for this! I needed some light on how to edit macros (I only knew how to create it), now it feels less intimidating.
@jacquelinetung
@jacquelinetung 6 ай бұрын
Very easy to learn & refresh, thank you, Kevin :)
@arphdsss9817
@arphdsss9817 2 жыл бұрын
This was helpful I learn something everyday from you Kevin thanks 😊
@lovethatbeach
@lovethatbeach Жыл бұрын
I feel smarter after trying my own macros with this tutorial! 😂 Thanks Kevin!!!
@lookingforwardto
@lookingforwardto Жыл бұрын
Very informative. Thank you GURU!
@ExcelTemplatesSolutions
@ExcelTemplatesSolutions Ай бұрын
Learnt alot from you, thank you kevin
@user-rc2ip1zb5d
@user-rc2ip1zb5d 6 ай бұрын
Thank you so much for this tutorial!
@agptadmin9886
@agptadmin9886 Жыл бұрын
Great video Kevin! I learned a lot. Thanks!
@zt2820
@zt2820 2 ай бұрын
Great tutorial. Thank you!
@marianethsanchez2621
@marianethsanchez2621 4 ай бұрын
really helpful and simple, thank you!
@oanphong61
@oanphong61 2 жыл бұрын
Thank you Kevin! Your video is amazing and well-explained. It helps me a lot
@KevinStratvert
@KevinStratvert 2 жыл бұрын
Glad it was helpful!
@missn.a.ndlovu3322
@missn.a.ndlovu3322 2 жыл бұрын
Thanks this video helped me to understand the basics of VBA!
@ChristopherNealBUSHIDO49ERS
@ChristopherNealBUSHIDO49ERS Жыл бұрын
This was super-helpful! THANK YOU!!!
@chrism9037
@chrism9037 2 жыл бұрын
Super helpful, thanks Kevin!
@alirezasadeghifar3815
@alirezasadeghifar3815 Жыл бұрын
Subscribed, your videos are fantastic!
@olufemiomonikeolusegun8337
@olufemiomonikeolusegun8337 2 жыл бұрын
You're such a great teacher. I love your method of teaching. Please are you teaching us python again. Your first tutorial for beginners has been my best ever. Thanks
@KevinStratvert
@KevinStratvert 2 жыл бұрын
More to come!
@olufemiomonikeolusegun8337
@olufemiomonikeolusegun8337 2 жыл бұрын
@@KevinStratvert oceans of thanks
@Juan-Hdez
@Juan-Hdez 4 ай бұрын
Very useful. Thank you!
@JK-jm6kd
@JK-jm6kd Жыл бұрын
I love your videos easy to follow
@geo3000sa
@geo3000sa 2 жыл бұрын
Thanks Kevin, very informative and learned alot 👍
@georgem.6076
@georgem.6076 2 жыл бұрын
Thank you, Kevin. I feel a little less worried about starting my new job next week.
@wilkinsbrito5168
@wilkinsbrito5168 2 жыл бұрын
Thank you for this video! I just started to properly utilize PC Apps/Software.
@devarshnayyar3910
@devarshnayyar3910 2 жыл бұрын
A great video . I was Thinking of this and what a coincidence.
@titomoura7014
@titomoura7014 Жыл бұрын
Congrats for the video you are a teaching wizard!
@ryanfrancis9134
@ryanfrancis9134 Жыл бұрын
I really enjoyed this video. Great job!
@Missyvjd
@Missyvjd Ай бұрын
Thanks so much for this....I needed help to understand relative references
@BobG-eh5fc
@BobG-eh5fc 3 ай бұрын
Another excellent tutorial!
@cenevspeed
@cenevspeed 2 жыл бұрын
Microsoft provides so many new features in their products and thankfully we have such a wonderful teacher to explain them 😎 Thank You Kevin 🔥
@jean-francoisregnard4889
@jean-francoisregnard4889 Жыл бұрын
Thanks , Kevin ! This video is just excellent !
@bhavanimaddela7252
@bhavanimaddela7252 2 жыл бұрын
Great video Kevin. Keep up the good work
Excel Formulas and Functions | Full Course
52:40
Kevin Stratvert
Рет қаралды 1,2 МЛН
В ДЕТСТВЕ СТРОИШЬ ДОМ ПОД СТОЛОМ
00:17
SIDELNIKOVVV
Рет қаралды 2,5 МЛН
When Steve And His Dog Don'T Give Away To Each Other 😂️
00:21
BigSchool
Рет қаралды 11 МЛН
👩‍💻 Python for Beginners Tutorial
1:03:21
Kevin Stratvert
Рет қаралды 3 МЛН
Excel VBA Beginner Tutorial
2:10:31
Learnit Training
Рет қаралды 5 МЛН
EASILY Make an Automated Data Entry Form in Excel
14:52
Kenji Explains
Рет қаралды 236 М.
How to Create & Use Excel Macros (Real world example)
10:09
Leila Gharani
Рет қаралды 1,6 МЛН
How to use Microsoft Power Query
16:35
Kevin Stratvert
Рет қаралды 1,8 МЛН
Excel 2021 VBA Intermediate Tutorial
2:21:03
Learnit Training
Рет қаралды 38 М.
How to Master VBA loops FAST (with real coding examples)
8:37
Excel Macro Mastery
Рет қаралды 18 М.
How to Create Macros in Excel Tutorial
9:17
Kevin Stratvert
Рет қаралды 1,4 МЛН
10 Excel Formulas That Will Set You Apart (Cheat Sheet)
18:04
MyOnlineTrainingHub
Рет қаралды 170 М.
How to use Power Pivot in Excel | Full Tutorial
30:38
Kevin Stratvert
Рет қаралды 1,3 МЛН
Mi primera placa con dios
0:12
Eyal mewing
Рет қаралды 580 М.
ПК с Авито за 3000р
0:58
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,9 МЛН
С ноутбуком придется попрощаться
0:18
Up Your Brains
Рет қаралды 328 М.
5 НЕЛЕГАЛЬНЫХ гаджетов, за которые вас посадят
0:59
Кибер Андерсон
Рет қаралды 1,3 МЛН
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 2,3 МЛН