Tabellab
Excel VBA · 20 courses

Excel VBA courses

Excel VBA lets you automate the reports and clean-up jobs you repeat every week. This track of 20 short courses takes you from your first recorded macro to code that other people can rely on. Each lesson explains one topic with code examples you can paste into the Visual Basic Editor and ends with a knowledge check.

Start with VBA Basics and VBA Range & Cells, then learn loops and logic, the macro recorder, worksheets and workbooks, and error handling and debugging. The intermediate courses cover UserForms, report automation with PDF export and Outlook, strings, dates, user-defined functions, charts, Excel Tables (ListObjects) and files and folders. The advanced courses cover arrays and performance, the Dictionary and Collection objects, PivotTables in code, ADO and SQL queries, web APIs and JSON, and class modules. The track suits analysts, accountants and controllers who spend hours on manual Excel work and want to automate it, and developers who need to maintain existing macros.

Courses in Excel VBA

1 free lessonBeginner

VBA Basics

Open the editor, write your first working macro, and understand every line of it.

8 lessons · 55 min

1 free lessonBeginner

Ranges & Cells

Point your code at exactly the right cells and read or write them without ever clicking.

8 lessons · 56 min

1 free lessonBeginner

Logic & Loops

Make your macros decide for themselves and repeat work across thousands of rows.

8 lessons · 55 min

1 free lessonBeginner

Macro Recorder & Cleanup

Record what Excel does, read the code it produces, and rewrite it into something fast and reliable.

8 lessons · 57 min

1 free lessonIntermediate

Worksheets & Workbooks

Point your code at the right sheet and the right file, every single time.

7 lessons · 57 min

1 free lessonIntermediate

Errors & Debugging

Find out what your macro is really doing, and fail gracefully when something goes wrong.

8 lessons · 1.1 h

1 free lessonIntermediate

UserForms

Build proper data-entry windows so people stop typing straight into your spreadsheet.

7 lessons · 58 min

1 free lessonIntermediate

Automation & Reports

Let Excel react on its own, gather data from a folder, and send the finished report out the door.

8 lessons · 1.1 h

1 free lessonAdvanced

Arrays & Performance

Pull a whole range into memory, do the work there, and write it back in a single line — hundreds of times faster.

7 lessons · 53 min

1 free lessonAdvanced

Collections & Dictionary

Group, count and de-duplicate thousands of rows in one pass using keys instead of nested loops.

7 lessons · 52 min

1 free lessonIntermediate

Text & Strings

Cut, search, split, join and reshape messy text until it looks like clean data.

7 lessons · 51 min

1 free lessonIntermediate

Dates & Times

Build, compare, shift and format dates reliably — including the text ones that arrived from somebody else's system.

7 lessons · 52 min

1 free lessonIntermediate

Custom Functions (UDF)

Write your own worksheet functions in VBA and use them in cells just like SUM or VLOOKUP.

8 lessons · 1.1 h

1 free lessonAdvanced

PivotTables with VBA

Build, fill, filter and refresh PivotTables entirely in code, so a monthly report becomes one click.

7 lessons · 57 min

1 free lessonIntermediate

Charts with VBA

Create, format and export Excel charts from code so every report looks identical every month.

7 lessons · 56 min

1 free lessonIntermediate

Excel Tables (ListObjects)

Stop guessing where your data ends — drive real Excel Tables from VBA and let them resize themselves.

7 lessons · 58 min

1 free lessonIntermediate

Files, Folders & CSV

Let your macros walk through folders, read and write text files, and swallow a hundred CSV exports into one sheet.

8 lessons · 1.1 h

1 free lessonAdvanced

External Data with SQL (ADO)

Pull exactly the rows you need out of closed workbooks, Access files and SQL Server — without opening a thing.

8 lessons · 1.1 h

1 free lessonAdvanced

Web, APIs & JSON

Call a web service from a macro, survive the things that go wrong, and get the answer onto a sheet.

8 lessons · 1.1 h

1 free lessonAdvanced

Class Modules & Structure

Build your own objects, then use them to turn a thousand-line macro into something you can still read next year.

8 lessons · 1.1 h

Frequently asked questions

Do I need Excel installed for the VBA courses?

Yes, to run the code. VBA works in the desktop versions of Excel for Windows and, with some limits, for Mac. It does not run in Excel for the web or Google Sheets.

How long does it take to learn VBA?

The basics, from the editor to loops and ranges, take a few evenings. Most people can automate a real report after the first five or six courses of the track.

Is VBA still worth learning?

Yes, if your work happens in desktop Excel. Millions of workbooks run on VBA, and it is still the quickest way to automate a task inside Excel itself. Office Scripts and Python cover other cases.

Open your first lab in under a minute

Free lessons work without an account. Sign up to save your progress.

Start learning free