Start free

ExcelIntermediate → AdvancedIntermediate stage20 hoursPro

Excel VBA & Automation

Automate repetitive Excel work with VBA, UserForms, Office Scripts and Power Automate.

Start the free previewLabs run in your browser. No installs.

What you will be able to do

  • Write and debug VBA procedures
  • Loop through sheets, files and ranges
  • Build UserForms
  • Automate cloud flows

Tools

  • VBA
  • Office Scripts
  • Power Automate

Syllabus — 5 modules

  1. The object model

    Excel exposes Application, Workbook, Worksheet and Range objects. VBA manipulates them.

    VBE and the Immediate window · Application, Workbook, Worksheet, Range · Cells vs Range · With blocks · Recording and editing macros

  2. Variables and control flow

    Declare variables with Option Explicit, then loop and branch.

    Dim and data types · Option Explicit · If, Select Case · For, For Each, Do loops · Arrays and dictionaries

  3. Files and data

    Consolidate many workbooks, export PDFs, read CSVs and talk to databases with ADO.

    Opening and closing workbooks · Looping a folder with Dir · Export to PDF · ADO connections to SQL Server · Error handling with On Error

  4. UserForms and events

    UserForms collect input; event procedures react to changes.

    UserForms and controls · Worksheet_Change and Workbook_Open · Ribbon customisation overview · Security: signing macros, trusted locations

  5. Cloud automation

    Office Scripts automate Excel for the web; Power Automate schedules and chains them with email, Teams and SharePoint.

    Office Scripts TypeScript basics · Power Automate cloud flows · Scheduled refresh and distribution · When to move to Python

How you are assessed

Every module ends with a check question. The final exam has 15 theory questions and 3 hands-on tasks solved in the tool this course teaches; pass at 70% for a certificate anyone can verify online.

Where it sits in the Excel track

  1. Excel Essentials Beginner
  2. Google Sheets for Data Beginner → Intermediate
  3. Data Analysis with Excel Intermediate
  4. Advanced Excel Intermediate → Advanced
  5. Excel VBA & Automation (this course) Intermediate → Advanced
  6. Advanced Data Analysis with Excel Advanced
  7. Financial Modelling in Excel Advanced

Part of these career paths

Start learning

Questions and answers

How long does the Excel VBA & Automation course take?
About 20 hours across 5 modules, at your own pace. At five hours a week most learners finish in 4 weeks.
Is Excel VBA & Automation free?
The first module is a free preview. The full course is part of Pro, or a friend's invite can unlock its whole track for up to three months using referral points.
Do I get a certificate for Excel VBA & Automation?
Yes. Pass the final exam (15 theory questions and 3 hands-on tasks in 40 minutes, pass mark 70%) and you get a certificate with an ID that anyone can verify online.
What should I know before starting Excel VBA & Automation?
It follows Advanced Excel in the Excel track. If Excel is new to you, start with Excel Essentials.
What will I be able to do after Excel VBA & Automation?
Write and debug VBA procedures; Loop through sheets, files and ranges; Build UserForms.