
Check out what is included in the course and what you can do with Visual Basic in Microsoft Excel. You'll find examples to Excel tools you can create using VBA.
To become an expert in Excel VBA, it's important to fully understand the Object Model. This way you'd be able to write the correct VBA syntax for your Excel projects (without guessing!). Selecting the wrong combination of objects, properties and methods will result in errors in your code.
Writing VBA code is all about manipulating objects on the screen. These objects have code words for easier reference. This code can be found in the VBA reference library. In this lecture you'll learn how to use the Excel VBA reference library so you can find the correct code for your Excel macro.
In this lecture we cover a few essential Excel VBA concepts including what a sub and function procedures are and what the different color codes mean. We also learn some useful shortcuts we can use the VBA editor.
In this lecture we get into the setup of the object model. VBA syntax is object first, then action. Objects can also have relationships with other objects - you need to be aware of the object hierarchy. It gets really interesting and fun.
In this lecture you learn all about Excel VBA object properties and what these are.
When you start to learn Excel VBA, it's important to understand what methods are and how you can use them together with objects to automate tasks.
VBA syntax is not easy to remember. How do you find the correct object, property or method that you need for your code?
This lecture is a complete guide that teaches you how to refer and write to a range or to cells in Excel VBA. You'll learn how to change a cells value with VBA by using range and the cells property, the offset property. You'll also learn how to refer to different ranges in one statement, how to select a row or a column with VBA and how the used range property works.
Find out how find the last empty row or the last empty column using different methods. Some work also with blank cells inside the data set. We take a look at using the end property of the range object. Then the current region property and the used range property of the worksheet object. We also take a look at using SpecialCells method to find the last used cell in the worksheet.
Learn 3 ways how you can unhide all Excel tabs in one go. You can also apply this to all macro-free Excel Workbooks.
Most people learn VBA by copying code from Google until something works. This course teaches you why it works, so you can write it yourself.
Understanding the VBA object model, syntax rules, and code structure means you can automate any task, not just the ones you found a solution for online.
This course builds that foundation from the ground up and applies it across three complete real-world tools you build from scratch.
What you'll be able to do after this course:
Record, write, and improve macros using the Visual Basic Editor with confidence
Navigate the VBA object model to find the right objects, properties, and methods for any task
Reference ranges, worksheets, and workbooks correctly across different scenarios
Use variables, data types, arrays, and scope to write clean, efficient VBA code
Loop through collections with For Each, For Next, Do While, and Do Until
Handle errors and debug VBA code using Watch, Locals, and Immediate windows
Work with files, folders, and text files including CSV export with custom delimiters
Automate pivot tables, Excel tables, and formula updates with VBA
Use worksheet and workbook events to trigger code automatically
Build UserForms and ActiveX controls for professional Excel interfaces
Create custom VBA functions usable directly in Excel worksheets
Automate tasks across other Office applications: Outlook emails with attachments, Word letters, PowerPoint exports, and PDF generation
Animate and control Excel charts with VBA
Three complete projects built from scratch:
This is where the course separates itself. You don't just learn syntax, you apply it to three professional tools:
Project 1: Table of Contents Generator
Automatically creates a hyperlinked table of contents for any workbook with one click. Includes error handling and personal macro workbook integration so it works across all your files.
Project 2: Regional Sales Reporting Tool
Imports data from multiple files, generates pivot table and hard-coded reports, exports to Excel and CSV, and tracks completed tasks. A full data processing pipeline built in VBA.
Project 3: Invoice Generation Tool
A complete UserForm-based system with searchable list boxes, master data management, invoice creation, PDF export, and automatic Outlook email with attachment. This is production-ready tool development.
What's inside:
20 sections from macro basics to advanced UserForms and Office integration
50+ VBA examples drawn from real client work
Activities and projects in every section with solution files
Quizzes after key sections to test retention
100+ page downloadable documentation including useful code snippets for ongoing reference
Compatible with Excel 2010 and above including Microsoft 365
Taught by Leila Gharani, Microsoft MVP and trusted by 515,000+ students across 11 courses on Udemy.
Enroll now and start automating your first Excel task today.