Excel VBA Beginner Tutorial
Vložit
- čas přidán 5. 08. 2024
- Excel VBA Beginner Tutorial
Get Ad-Free Training by becoming a member today!
/ @learnittraining
Exercise Files: bit.ly/3kVR38Y
Who it's for: Business Analysts, Data Scientists, and everyone in between looking to write their own rulebook on what’s possible in Excel.
What it is: Visual Basic for Applications (VBA) is the programming language for Excel and other Microsoft Office programs. VBA is used to automate repetitive processes and frequent actions. Even more, it can be used to build tools that otherwise don’t exist in Excel.
What you'll learn: In this series, users will be guided through the foundational concepts of VBA in Excel. Users will learn to build macros from the ground up, starting with recording macros that require little to no code, and working towards building their own macros using crucial VBA concepts such as Loop, If Then, and other complex functions.
For ad free training and certificates please join Learnit Anytime:
www.learnitanytime.com
Enroll in our live, instructor-led Excel VBA class:
bit.ly/3I4q5Yh
For Private Group Trainings please visit:
www.learnit.com/private-group...
Manuals: bit.ly/30xZb59
Username: manuals
Password: password
Start 0:00
Introduction 0:03
What is VBA? 1:44
Object Oriented Programming Languages 5:59
Turning on the Developer Tab 10:17
The Macro Recorder 13:40
Using Relative References 20:39
Recording Simple Macros 27:51
Multi-Step Macro Recording 39:25
Sort and Filter Macro Recording 45:26
Protecting and Formatting Sheets with the Macro Recorder 51:35
VBA Interface Setup 55:09
Recorder Code vs. Manual Code 1:01:11
Introduction to Editing Macros 1:12:28
Debugging Macros 1:16:53
Grammar in VBA 1:28:00
Macro Scripting Basics 1:33:04
Range 1:40:41
Selection & Color 1:47:14
Value and Clear 1:52:16
ActiveSheet, Sheets, and Name 1:54:01
CurrentRegion 1:56:40
Practice 1:58:08
#ExcelVBA
(C) 2021 Learnit, Inc.
Any illegal reproduction of this content will result in immediate legal action.
The link to the exercise files is in the video description
subbed*** I could not find the file with the phone numbers.... the one used at 27:51
Just kidding @
JugglingMike saved the day
@@abnerkamps1669 hey! Could you help me with the simple macros file?
@@pkushanth5526 after you download the exercise files (link in the video description) the file discussed at 28:20 showed up as "VBA Simple Macros", not "Simple Macros" in the exercise files.
Hi i ran in to run time error '1004' autofilter method of range class failed when i click the reset filters button. did it several times the same error. kindly explain why this error appearing. thanks
I'm a 79 year old retired software developer who has taken many classes and courses over the years. This lady, bar none, has done one of the best teaching jobs I have ever experienced. Congratulations on an outstanding performance!
Thank you so much for the kind words Jim!
Totally agreed. She is great.
@@LearnitTraining It's true! very helpfull, thank you!
I agree
could not agree more.
No music and overly excited speech, just direct and straight-to-the-point detailed guidance; all tutorial should be like this.
We think so too!
RIght? getting to the core of how to understand VBA instead of just giving specific situations.
can you share the practice file
I am jobless and learning VBA for a job interview. Just want to thank you for your service.
Good luck on the interview!
All the best for your career ahead!
Did you get job buddy?
Few people nowdays truely understand how to teach. You clearly have empathy for your audience and understand their perspective. This is a really well put together tutorial.
Thank you so much!
Is it just me or is the audio really pleasant to the ears?
I thought it was just me!
Damn I'm not alone
VBA ASMR 10 hours
I fully agree. She has a very crisp and pleasant-to-hear English.
IT IS LOUD
I have seen so many videos on VBA... but this one is the best..... no jass... no unwanted irritating music.... straight to the point.... thanks a ton to the trainer...
Thanks!
so happy to find a tutorial with a female teacher. all my IT teachers are male, online and offline. A big step for female power. big support
We try to have a wide and diverse variety of instructors!
Just in case someone's confused: the file discussed at 28:20 showed up as "VBA Simple Macros", not "Simple Macros" in the exercise files.
Thus far: fantastic tutorial! I feel like an Excel superhero!
not all heros wear a cape, ty
Can you please share the download link?
@@kamol901 it's in the description
I saw the exercise file link to a zip file, when I unzip I do no see the excel file. Thanks
@@kamol901 , when you click the link it should take you to a sharepoint site. On the upper left, there is a down arrow to download the files.
Once you download the zipped file, unzip it. I had a strange experience where, when I unzipped it, it showed another zipped file. When I unzipped the second one, it worked for me.
If that doesn't work, can you tell me what step isn't working for you?
I taught myself some VBA by back-engineering macros I'd recorded, but there's SOOO much more to it that I've never understood. I'm 25 minutes into this and I've already learned several tricks that will make life easier! Taking a break now, but I will be back for more. This is a godsend.
I wanted to learn VBA for the last so many years. Finally found what I was looking for. Excellent presentation and oh ! the audio -the great motivator :). Thank you.
This class was truly amazing! It was so easy to follow along with the exercises due to the instructor always verbalizing what she was doing (typing, clicking on, ect.), allowing me to look at my excel sheet and complete the steps simultaneously. I went from not knowing what VBA/Macros were at all to feeling like I can say I have a beginner level understanding. Thank you Learnit!
You are very welcome Bronte! We are happy to hear you learned so much!
Isn't it crazy what difference it makes when someone actually explains their actions? Other people just speed through it. You should see some of the VBA courses on Udemy, such a joke (except one instructor, as far as I'm concerned).
This has got to be the best beginner's course I've had. Well-made, easy to comprehend. Please never stop creating content.
Thanks, will do!
This was a brilliant 2+ hour of session! Clear communication, organised content and specific information. I am glad I came across this. My Sunday well spent learning something great.
Ok, I got to say this, the instructor is doing a fantastic job explaining the basics, but what i have to say is, she has a marvelously soothing voice that can be heard for hours XD
You did a great job breaking down and making easy to understand something that can be pretty daunting for most people who haven't worked with macros before. I had a lot of trouble trying to share my knowledge/train others on VBA and this video was easy to understand and well organized. Thanks!
Glad you enjoyed it!
I'm barely an hour in and it's already changing the way I'll work from now on. Love the tutorial! Everything is explained beautifully and easy to follow through and understand.
We are glad you are learning so much!
From Egypt, It's really an excellent video, I loved your way so much, will go to the next level, Thank you!
This tutorial is by far one of the best tutorials ever, the methodology is very good, even if used with any other topic especially programming.
Instead of spending 10+ lessons learning how to print silly message on the screen and doing loops and conditional formatting, you start doing some useful examples and get your hands on with real, yet simple scenarios.
I would really recommend your channel for anyone who want to learn anything, not just Excel.
Please it going :)
This VBA training series is absolutely phenomenal. Thank you very much, Chelsea!
You're so welcome! Chelsea will be back on 9/21 covering Loop Structures
This video is just awesome. I am a writer (of Excel-related content) in a company and lead a team but had weakness in VBA. So I came to here. This lady is just awesome. I am speechless. I am going to finish the rest two videos and going to find if there is anymore videos of this lady.
I am loving this course. Thank you for sharing your knowledge with us all, and in such a clear manner too.
90% of my CZcams watching are tutorial videos. This one tops them all when it comes to explaining it, examples, variations, testing, etc. And yes, the audio was pleasant too :)
I love how you sound… you make it easy to understand. my brain does not feel stressed or behind when I’m learning from you.. you are an amazing teacher.
Thanks!
I've only just started listening to this (earphones) and the presentation in terms of audio is fully engaging and exciting. You will have me for over 2 hours
Thank you for watching!
Chelsea, your tutorials are quite simply outstanding. Your preparation and delivery of the content is superb!
Amazing dedication to teaching the subject matter at hand, and getting the lesson across. Thank you! will watch more educational videos from you.
I don't usually write comments but for this one I HAD to. This video was so helpful omg. I've learnt more in 2 hours from here than from a whole semester in University. Definitely going to watch the remaining 2 videos!!!!
Thank you for the kind words Anita Adiki! We are glad the videos are so helpful!
@@LearnitTraining Hi, I'm at the 'Sort and Filter Macro' part of the lesson, and I'm struggling to find the excel worksheet that goes with that particular section from the exercise files I downloaded off of here. What name are they under? Thanks
This is by far the best beginner VBA training I've ever come across. The teacher is hands down one of the best too. Give her a raise.
Thank you for the kind words! We think Chelsea is great as well!
Although I am not professionally using Excel, I started to use Macro’s after watching your 2 hours course. I greatly benefited and appreciate your support. Your explanations were very clear to me. Thanks very much 😀😀 You are really a great teacher. If you have some other posts I would like to know about them.
This is how you teach! I like when they consider the learner first when instructing.
Wow, this has got to be one of the best coding videos of all time. What a wonderful teacher! If my CS teacher at University was half as skilled or as passionate as this instructor, I probably would have gone into programming as a profession (or at least a hobby). When my kids are old enough, I'll make sure that they are exposed to this video. If they were meant to code, I'm sure that this video would be their power-on switch. Thank you for this incredible video Learnit!!! Where can I find more courses by this instructor?
Girl, your enthusiasm, vibrancy and way of explaining this is BEAUTIFUL! It makes it energetic and fun! Thank you!
You are so welcome!
Fabulous! You became my lockdown tutor, with a clear, smooth and pleasant voice, well paced and delivered. In particular, you explain the smallest things, - you must have dropped 100 Excel tips in passing, and even though I use Excel frequently I'd unlearned some useful basics I don't always use, like a double click to auto fill. This is a standard of how great tutorials should be done, thank you :-)
Really excellent video. I've been using Excel for years and still learnt a lot of new things. The tutorial is really well prepared and presented.
really excel-lent video for sure
One of the best tutorials I've seen -- just because the lecturer makes it so understandable in her structure of instruction. But more importantly, she has a great personality for teaching... which is an intangible characteristic that is 100x more valuable than the actual content of the instruction. The company who employs her is very lucky.
Wow, thank you!
I just started to learn the VBA concept recently and this tutorial is really helpful. I watch it for around 10mins every day to let myself have proper time to digest the steps and understand the logic behind them. Thanks a lot for your efforts!
You're very welcome!
I have tried several courses recently but couldn't anywhere. But with this one, it was just excellent in terms of the method - and the voice was wow!
Thank you so much for this tutorial. Super clear!! I was able to go through the exercises without problems or doubts. Great teacher and great content. Thanks again!
If you want to learn more about its video editing capabilities, including tutorials, and features, go follow: ►DemoCreator Facebook Group here: bit.ly/2XqGL6S
►Get Wondershare DemoCreator 7-day License to Start Your Video Trip: bit.ly/3oCEPDA
How did you downloaded your simple macros on your desktop. I can't download it and I don't know where to get it.
Thanks in advance for the help.
@@cedkize7608 I would really appreciate an answer on that!
xD thanks mis
@@cedkize7608 In the Exercise Files is the "VBA Simple Macros"
GjIəJJ
Best Excel teacher ever. I've programming in VBA for Excel for a couple of years now, but I wish I had a teacher like that in the beginning.
Thanks so much Eduardo! I'll bet you could teach this yourself by now :)
This course was the best among several I tried out recently. It assumes that you do not know anything or very little about Macros and VBA and walks you thru them step by step. Absolutely great teaching method. Very well paced and with clear explanations and examples. The downloadable files make it so easy to practice as well. Thank you for the excellent course!!
Please teach me how to download this practice file
Best training video I've ever watched.
Chelsea’s voice is intoxicating. Her delivery is exceptional. She doesn’t seem to be reading a script, her delivery is conversational.
The big red arrow is extremely helpful as are the exercises. Just a wonderful experience.
Wow, thank you!
This is the best basic VBA tutorial I have found and I have spent hours searching. Very much worth every second. I’m so excited to use the skills and watch the advanced. Seriously, thank you so much!
You're very welcome!
Your teaching is straight to the point with nice, audible and clear accent. Thank you so much for this video.
You are very welcome!
One thing I can tell... Chelsea Dohemann is a great teacher... will love to see more learning from her...
Agreed. I enjoyed listening to her. She knows what she's talking about, and presents it clearly and organized.
You know she is a great instructor when playing the video in 1.5 speed and still understand her perfectly. Thank for this helpful tutorial.
she has a marvelously soothing voice that can be heard for hours 🙌 ✨
I just love how this class is taught. I have sat in different classes in the past and have not completed the CZcams sessions. However, this class and how this person explains is outstanding. Thank you for posting here.
Wow, thank you!
I have searched unlimited videos around VBA and even purchased a course via Udemy but was still not able to understand the details as I didn't have any technical/ coding experience. But after going through this videos i am very happy as I am able to understand the basic stuff and the way you have explained each topic is simply awesome. I would love to go through more of your videos :)
I'm a newbie in VBA Excel. Thank God that I found this invaluable video. Thank u.
I think this is the best VBA tutorial I have seen. it is so comprehensive I am not having the feeling of just executing fancy or prepared codes but instead really understanding the core of VBA. Thank you for the lessons.
You are very welcome!
What a great tutorial. I am retired from a computer company with knowledge of programming but not visual basic. I do scoring for a golf league and set up templates/spreadsheets for the different formats of play. I have been adding formulas to the spreadsheets and changing the values manually for the formulas. I can now create macros to make this so much easier. Thank you.
Glad it was helpful!
Best tutorial I have seen in years
The voice work and arrow and mini reviews for each step are exceptional.
I will use these techniques when I return to teaching and will recvomend your channel to my students
Thank you
Thanks so much Alan :) Learnit's channel is a goldmine!
@@fosiebear really couldn't agree more
I wish they would just use these videos in college instead of outdated professors teaching things that worked in 1999
You are an amazing teacher. I learned a lot from this video . The flow of the delivery of the content is excellent. Thank you so much.
No course can teach you Excel VBA better than this. Kudos to the instructor and feel blessed that these materials are available for free
Wow, thank you!
Well paced lecture, “interactive” exercises, excellent course. Great job in putting the material together. Highly recommend this course!!! You will learn a lot and appreciate VBA.
Much appreciated!
Best VBA lesson I have take so far. I bought many books but lost interest on the complexity. Thanks for making it so simple and interestingly. God bless you, Dan and team in this channel
the COMPLEXITY WHY:-)
Your voice is so clear. I love it. Thank you for delivering this tutorial!
I have done a pretty good job over the years of being able to find the code I needed online and tweaking for my needs. I’m at the point in my career where I want to UNDERSTAND what I’m doing and be able to write a script from scratch. After many, many videos, I am so glad I found this one! Other instructors just tell you what to type! This is the only video that actually explains objects/methods/properties as well as debugging tips. I’ve had so many aha moments and it so less overwhelming to me now than it was this morning. You are fantastic, thank you so much. .
Thank you so much for the kind words! We are glad you had so many aha moments and learned so much!
Hands down, the best narrator I've heard in a very long time. I think you could do most anything and make it better. Well done!
Thank you for the kind words!
OMGoodness Thank you for this Video I love how you get straight to the point no jargon or fluff and just teach us.
This is awesome, I will be doing the Advance VBA Next. WooHoo!!!
I set out to leave this comment thinking I would wow you with a compliment about your uniquely amazing and pleasant voice, only to find that nearly everyone noticed it and mentioned it.
It is more than a great voice...it is the "perfect teaching voice") ...a concept I thought I had just invented until I saw others below use this same term.
Don't let all this fuss about your voice take anything away from the other aspects of this tutorial. You are well-organized and your presentation is flawless.
Someone below said you should do ALL of the CZcams tutorials. While I wholeheartedly agree with him...there is part of me that thinks you should be teaching teachers how to speak. It would be a smarter world.
Amazing job, Chelsea!!!
This was brilliant tutorial, very well explained and to the point with concise explanations as examples. It took me couple of days to go through entire two hours with exercising and pondering beyond what was presented within tutorial. I was also keen to learn basics of Macro recording as I am working on a project that has many repetitive task but didn't know much about Macro Recording as VBA Script. Now I want to learn more to make my life easier in Excel. Not being versed before in VBA Script this tutorial and some of the books I am using I am more confident to embrace second level of VBA Tutorial. Many thanks for presenting VBA knowledge to us.
Thank you so much for watching Denin! We are glad you learned so much!
I'm close to finishing the first part of this course and I thought it would not be fair to wait till I finish the 3-part course before singing the praise of the quality and clarity of this course. I have read in my research about VBA that it is a fairly difficult language but this tutor makes it feel like cutting through butter with a hot knife. I guess I'm fortunate that unlike many people here who had to wade through much less intuitive courses before finding this one, I found this as my introduction to VBA. This is a very very well put together material. Thank you so much to the instructor and her soothing voice, and also a big thank you to the people who have put this course together. Y'all are the real MVPs!!!!
Happy to help!
Thank you dear teams of Learnit Training.
I am very impressed by the careful illustrations and lovely instructions by Chelsea Dohemann !
May the Scientific-Almighty ( all-knowing Almighty) bless her all the best of health, safety and peaceful progress in life !
Thank you for the kind words Faruqhsj!
So well explained. Brilliant, thank you ✌️
After years I get the feel of actually sitting in a physical classroom with my profssor right in front of me teaching me every bit of the stuff! Just wow!
Thank you for the kind words Kalyani! Thank you also for watching!
I love the way you use 'real-life' examples rather than examples that show the code working but not why you might use it. Thank you!
Glad it was helpful!
It's better than the beginner level Excel VBA courses in paid platforms like Udemy. Thank you so much for helping so many people.
She is doing a great job with her style of teaching and her pleasant voice. Keep it up!
I've just started this tutorial, but I'm already very impressed with this lady instructor. She's amazing and has a captivating voice that motivates me to pay attention and participate. Thank you!!
Thank you so much Dantts! We hope you learn everything you wanted about VBA! Also thank you for being a member!
One of the best tutorial I ve taken. I knew nothing abour macros. Now I feel, I can do it. Thanks Chelsea and team.
Our pleasure!
Your voice is clear,crisp, attractive and examples are much interesting...
Thanks a lot. I just completed the first video and practiced all the assignments. I heard about Macros in my college days but due to non-programming background always avoided them. Now after taking this course, with the pleasant voice of the instructor, I am feeling confident and want to master Macros. Gonna share this with all my friends. Love from Pakistan.
Definitely the best course on youtube for begineer macros. Tried more than 10+ vids and giving this conclusion. Thank you for the content.
Hi Siddharth C! Thank you for the kind words and an extra big thank you for subscribing!
Just finished recording a macro that tremendously improved the repetitive data pre processing time for one of my office projects. Thanks a ton Chelsea! Your teaching method is amazing! Looking forward to completing the intermediate and advanced part too.
Thank you for the kind words!
The best video tutorial EVER!! Been intimidated by VBA for years and now, thanks to you, it's suddenly not so scary anymore! Kudos!
Thank you for watching Jane! We are glad we were able help!
I listened to this on 2x speed. Her voice is clear and pleasant, and her little tips and hints really make watching the whole thing worthwhile rather than just skipping bits. Really great tutorial.
Wow, thank you!
I want to do a project on vba and macros today, so I quickly opened youtube and searching for different channels videos, but I'm not feeling I'm learning, accidentally I clicked on this playlist, then boom, excellent work by the tutor, very easy to grasp and to follow up. Thank You, I hope I revisit this channel weekly for more content like this
You can do it!
The pace of the way you talk is just perfect. Most of the times when I watch tutorials is I go 1.5x, even 1.75x sometimes. But here, 1x is just 👌
Thank you for the kind words Ludwig!
Not just great audio, also well explained. Highly recommended.
after listening your voice just for one min i am in comment section giving you compliment about it. but i am not sure it's a robot voice or a real person voice. it just so pleasant. I wish my teacher would have that pleasant voice
Doubt a robot could come up with all the appropriate tone changes she has. Yes, she is a good narrator, and probably a charming person to talk to.
This was genuinely a great tutorial! I have a reached the conclusion that it is never late to learn anything! It is all about finding the right instructor and training.
Well said!
Extremely useful course and the way in which it is taught is absolutely outstanding. I'll be honest in saying that now I'll be confident enough to write VBA / understand the script written by others. Thank you very much.
Thank you so much for watching!
Hi Chelsea, your tutorials are excellent I like it very much and it's very helpful. Keep doing things like this. Thank you very much !!
Great video, well explained. Hope you keep making tutorials for Excel. Would like to see something about Power Pivot, Power Query or User forms. Just an idea...
I have learnt so much. From knowing nothing about coding or Macros or VBA, I have a huge understanding of it now. Needing to create a document and wanting it to be interactive lead me to watch this.
Very well presented and easy to understand. It was great to practice along the way also.
Thank you very much (Australia)
You are very welcome Lorna! Thank you for watching!
Thank you Chelsea Dohemann for presenting such a wonderful Excel VBA class. You presented this course using basic adult learning theory principles. Your voice was very pleasing, easy to understand, and clear. I was able to follow along with you during the course with ease. The content material was what I needed for my Excel projects. I look forward to other courses presented by you. Thank you again for your time and energy in producing this class!!!
Thank so much for the kind words Dr. Ben!
You are most welcome. Please keep up the good work!
I am sure VBA is complex the more you delve into it BUT your approach deals perfectly with this awe one might have at the start of the journey. Thank you veru much indeed. Well, one can't forget about commenting on the voice either :)
I think the main complex things with vba is memory management and regular expressions. At least these are very hard for me.
If only all my ex-teachers have such beautiful voices ...
Now I'm trying to imagine Mr. Thornton, my 5'5" 240lbs Chemistry teacher with that voice .... nope ...
With the help of your videos I was able to fix my first VBA bug today for an employer. Great feeling! Thank you so much!!
PS. I agree with others, you have a very nice voice and demeanor.
Hi CassaRissa that is great to hear!
Thank you for making this available. I am retired, but love Excel and have used it for years.
Glad it was helpful!
The most pleasant experience I've had learning an application. Will continue with Learnit.
Great to hear!
Thank You. Excellent content and presentation. Clear, articulate, well paced and easy to understand speech. Excellent visuals. No thick accent, muffled, marbles in your mouth speech. Pleasant and engaging voice. What a RELIEF!
You're very welcome!
I have to admit that is a lot of high quality and free content about the basics of VBA. Impressive! I salute you guys, that´s how it is done!
Our pleasure!
I love this video! Great voice. Makes if fun. Easy to understand. Nailed it! Great introduction! Thank you!
I am Loving it, Great Tutor! Hats off to you:)
This is the only class i have attended without sleeping, clarity was the stimulant. Thanks!
Thank you for watching Paul!
Well Im a bit slow for 2 hour class, so 16 hours later and 8 notebook pages later, I've learned more than I ever did out a book Thank You. This Lady is 1 of the best instructors I've ever had.
Chelsea is an amazing instructor!