This is a complete guide on Excel VBA. If you’re a beginner user of Excel VBA, you will get your best start here. If you’re using Excel VBA for a long-term, there is also something for you.
This blog post lists all the step by step free tutorials on Excel VBA programming, 2 most popular Excel VBA courses, and some necessary books.
“Why I need to learn Excel VBA!” – you might ask yourself.
Let’s start with a personal example…
Some months ago, in a Facebook group, someone asked for a help. He wanted to create a system with the following criteria:
- The person will order his workbook to create any number of worksheets (the number might be 50, 60 or 100 or any number),
- Then, he will provide the name patterns for the worksheets,
- And all the above things will be done by just one click.
I helped him out. I wrote a macro for his workbook, he ran it and with just one click he can now do all those things. Excel does not provide any way to do the above things. You have to write code, you have to work with Excel VBA.
Table of Contents
- How to Learn Excel VBA (My Answer on Quora)
- Learn Excel VBA with My Free Tutorials (Step by Step)
- Learn Excel VBA with Online Courses
- Best Excel VBA Books
- Wrapping Up
- Read More…
How to Learn Excel VBA (My Answer on Quora)
You know about Quora where experts answer on different types of questions.
There was a question on Quora like this one: What is a good way to learn and code VBA?
I answered the question with my experience, and so far 933 people viewed the answer and I got 3 upvotes. See the images below and know my way how I command over any programming languages.
Learn Excel VBA with My Free Tutorials (Step by Step)
I am gathering here all the step by step tutorials that I wrote to help you learn Excel VBA. Just read the articles one by one and do a little practice. That’s all.
If you don’t have any prior experience in coding, frankly speaking, the topics might seem to you little bit complex. But believe me, if you keep yourself stuck with these materials, you will find it easy and you will start capturing the concepts of programming. Just stuck with these tutorials!
Introducing VBA (Visual Basic for Applications)
- Introduction to VBA Macros.
- What You Can Do with VBA.
- How to show the Developer Tab on the Ribbon.
- About Macro Security in Excel.
- How to save workbooks that contain Macros.
- Two types of VBA Macros: VBA Sub procedures & VBA functions.
- How to create VBA Macros in Excel using Macro Recorder.
- Recording Macro in Excel – Learn with an Example.
- Assigning a macro to a button in Excel.
- How to assign and change a shortcut key to a macro in Excel.
- How to add a macro to your Quick Access toolbar in Excel.
- Macro recording in Excel: Absolute vs Relative.
- Copy your macros to a Personal Macro Workbook.
- Excel VBA Coding Tips.
- How VBA works in Excel.
- Objects and collections, Properties, Methods, and Variables in Excel VBA.
- If-Then construct, For-Next loops, With-End With construct, Select Case construct in Excel.
- A macro example created using VBA.
- For Next Loop in VBA Excel (How to Step and Exit Loop).
- Differences Between Subroutine & Function in Excel VBA.
Create Your Own Custom Functions
- How to Create Custom VBA functions and Use them in the Worksheet.
- How to Execute a Function Procedure.
- A detailed analysis of Excel VBA Function Procedure Arguments.
- An Excel VBA function with no argument.
- How to Use Excel VBA User Defined Function in Formula.
- An Excel VBA function with two arguments.
- An Excel VBA function with a range argument.
- How to insert an Excel VBA custom function.
Creating Excel UserForms
- Why UserForms are necessary for Excel.
- MsgBox & InputBox in VBA Excel : UserForm Alternatives.
- How to Create a UserForm: an Overview.
- How to create an Excel VBA UserForm.
- Creating a UserForm that will change cases to Upper, Lower or Proper.
- Adding accelerator keys & Controlling tab order in Excel UserForms.
Working with UserForm Controls in a Worksheet
- Excel Form Control vs. ActiveX Control (7 Differences)
- How to Use ActiveX Controls in Excel
- Excel ActiveX Controls Properties (Checkbox, Combo box, List box, …)
Working with Excel Events
- What are Excel Events and Their Types?
- How to entering Event Handler VBA Code.
- Workbook-level Events and Their Uses.
- Worksheet-related Events and Their Uses.
- How to Use Non-object Events.
If you follow the above tutorials step by step, you will be able to make any complicated project using Excel VBA. Just you have to do a little practice.
Learn Excel VBA with Online Courses
Daniel’s YouTube Channel (For those who intend to learn Excel VBA for free)
If you see videos regularly on YouTube to learn Excel VBA, then you know about this YouTube channel.
This channel is run by Daniel Strong. He has enriched his channel with a huge number of video tutorials on Excel VBA. Whatever your problem is, you will get a solution with this YouTube channel.
The Ultimate Excel Programmer Course by Daniel
If you’re a newbie to Excel VBA, I suggest you go with a video course.
It is true that there are plenty of free videos are there on YouTube on Excel VBA, but what you need is a true guide who will start from basic, keep you engaged and on track with lessons, quizzes, and other essential materials.
Daniel also runs a popular course on Excel VBA at Udemy platform, the world’s largest platform for online courses.
When I am writing this post, the course has 30,438 students and the average rating of 318 students is 4.7.
Here are some reviews of the course…
Ultimate Excel VBA Course by Mark
After I have joined Udemy as an instructor, I was following Mark Talbert’s this course (Ultimate Excel VBA). I had a plan to make a course on Excel VBA. But after seeing the popularity of Mark’s course, I refrained myself from making the course.
Mark has been using Excel since version 1.0. And here are some reviews in his course.
Best Excel VBA Books
In an age of online information, it seems that the appeal of books to readers has deteriorated. Started writing a VBA code and did forget the syntax of a constructor? Just go to Google and convert your problems in some phrases and hit Enter. You’re all done.
Millions of results will appear to you immediately.
Searching in a book for some problems? OK. It will take time. Go to the Index page, then count a, b, c, d, find out your relevant topic, go to that page, and get an idea of your findings.
A long-term process really and there is no guarantee that you will find your problem topic in your book.
Then why every expert says that you need a book on your topic?
My advice is the same for you.
You need one or two books in Excel VBA. It might be in PDF or it can be a hardcover book (preferable).
When you will enroll in an online course on Excel VBA (or on any topic), it is true that you will learn almost all the topics within the shortest possible of time.
But a video course can be compared with a regular classroom where your instructor just gives you the general view of the topics. You then go home, open the book, and read the topics that you have learned in your classes and do some practice problems. And you’re all done.
So, still, at this age of quick information, a book is an inevitable asset at your table.
Here, I will give you a list of a total of 3 books that you can consider buying. These books are really helpful and the readers have shown their high gratitude to the authors of these books through reviews.
The author of this book is John Walkenbach and this the best seller book on Excel VBA. John Walkenbach doesn’t need any introduction to the Excel users.
He is known as Excel GUY and if this is your first day of introduction with Microsoft Excel, you may have heard his name.
Professional Excel Development: The Definitive Guide to Developing Applications Using Microsoft Excel, VBA, and .NET (2nd Edition)
After you have read the general syntax and structures of Excel VBA, what you may need is developing applications using Excel, VBA, and .NET.
This is the book that is written keeping in mind the application developers.
Just buy it and after reading some chapters, you will think you should read this book 15 years ago.
This is not a book on Excel VBA.
But when you’re working on Excel VBA intensively, I guess that you’re in the finance sector and your job may be related to building financial models for your company.
The write of this book is Simon Benninga. He is considered as the father of financial modeling.
I hope I could give you an outline of how to be a master in Excel VBA.
Here is a quick summary of this post:
- You got my answer on Quora on How to learn Excel VBA.
- Then you got the step by step tutorials to learn Excel VBA completely.
- I have introduced you to Daniel’s YouTube channel and his course on Udemy where you will get thousands of videos on Excel VBA.
- Then I have provided you an Excel VBA pdf where you can get 1200+ Excel VBA code snippets.
If you have any suggestions or feedback on how can I make this post more helpful to you, please provide it in the comments box.
Happy Excel Programming 🙂