Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udemy

Unlock Excel VBA and Excel Macros

via Udemy

Overview

Master Excel VBA and macros from basics to advanced with three complete real-world automation projects

What you'll learn:
  • Write VBA code from scratch using the object model, correct syntax, and the Visual Basic Editor
  • Automate repetitive Excel tasks using macros, loops, variables, arrays, and error handling
  • Build UserForms and ActiveX controls to create professional data entry interfaces in Excel
  • Use worksheet and workbook events to trigger VBA code automatically based on user actions
  • Automate tasks across Office applications: send Outlook emails with attachments, create Word letters, and export to PowerPoint
  • Build a Table of Contents generator, a Regional Sales Reporting Tool, and an Invoice Generation Tool from scratch
  • Create custom VBA functions usable directly in Excel worksheets alongside standard formulas
  • Debug VBA code confidently using Watch, Locals, and Immediate windows and apply proper error handling

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.

Syllabus

  • Introduction & Scope
  • Your First Macro
  • The Object Model
  • Referencing Ranges, Worksheets & Workbooks with VBA
  • Working with Variables
  • Looping through Collections & Making Decisions
  • Useful Built-in Functions
  • Debugging, Error Handling & Procedure Scope
  • Main Project #1: Create a Tool to Automate Table of Contents
  • Looping in VBA (Controlling the Flow of Code)
  • Working with Arrays
  • Working with Files, Folders & Text Files
  • Excel Tables, Formulas & Pivot Tables
  • Main Project #2: Sales Regional Reporting Tool
  • Interacting with Other Applications (Word, PowerPoint etc.)
  • Workbook and Worksheet Events
  • Working with Userforms & ActiveX Controls
  • Main Project #3: Invoice Generation Tool
  • Create your own Custom Functions
  • Working with Charts
  • Summary & Final Words

Taught by

Leila Gharani

Reviews

4.7 rating at Udemy based on 47953 ratings

Start your review of Unlock Excel VBA and Excel Macros

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.