The Complete Excel Course with AI Integration
Excel VBA and macros course for beginners
For anyone who formats the same report or checks the same export by hand, week after week, and wants it done in one click. This page reads The Complete Excel Course with AI Integration as a VBA and macros course: all of FormatWizard, its industry-standard macro project, from a first recording to a validation macro in VBA you wrote yourself, plus the AI lessons that teach you to brief and check the assistants that now draft code. No programming experience is needed.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
You will be able to:
- Record a macro, name it and run it, and choose between absolute and relative references so that it repeats on the same cells or follows whichever row you select.
- Put a macro one click away on the Developer tab, a button or the Quick Access Toolbar, and hand it to a colleague in a macro-enabled .xlsm workbook with the trust settings understood.
- Find your way round the VBA editor: open it with Alt+F11, add a module, and write lines that address a worksheet, its rows and columns and their formatting.
- Write VBA under Option Explicit, with declared variables and the right data types, a Sub that does the work and a Function, GetLastUsedRow, that tells every routine where the data ends.
- Check a whole sheet in a For Next loop, with If and Else tests that flag a missing region or salesperson and a FlagText message that names every fault in the row.
- Catch entries that are not numbers with IsNumeric, colour each faulty cell with Interior.Color and RGB, and clear the old flags and fills before every new run.
- Debug with Debug.Print and the Immediate window, then gather every check into one subroutine behind an error handler.
- Brief Copilot, ChatGPT or Claude with a strong prompt and test the answer against a QA checklist, the habit that makes a macro drafted by an assistant safe to run.
Projects
What you will build.
The course has 14 industry-standard projects. These two matter most here.
-
Project 11
FormatWizard
One click that checks a whole sheet for you.
The centrepiece of this page. A starter file of sales records grows into a tool with a flag column: VBA you typed yourself names each missing or invalid entry, colours it and reports back, and the finished macro-enabled file is there to set beside yours.
-
Project 14
Agentic AI in Excel
AI finds and fixes the formula; you check it before it counts.
Where prompting and checking become habits: Copilot, ChatGPT and Claude set to the same tasks, a pattern for strong prompts and a QA checklist for results, the routine that later keeps an assistant's draft of your VBA honest.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 21 of them, 1 h 37 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 136 Excel macros and VBA for beginners
Start at Lesson 136 if you can enter data and write a simple formula: nothing in the section assumes you have programmed before. New to Excel? Begin at Lesson 1, and you will arrive here having met relative and absolute references (Lesson 10) and the IF function (Lesson 29), the two ideas the macro recorder and your first If statement reuse. Already recording macros at work? Go straight to Lesson 141, where the VBA editor opens. The AI lessons listed first come from earlier in the course: watch them before the section or between its lessons, and follow the whole AI section from Lesson 88 when you want to build along. With lifetime access, all of it stays open for the day a new chore needs a macro.
21 of 186 lessons · 1 h 37 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) What Copilot, ChatGPT and Claude can and cannot do in Excel. Know an assistant's limits before you ask it for a macro, and you know which parts of its answer to test.
- 88 AI in Excel What Copilot, ChatGPT and Claude can and cannot do 8 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) Weak prompts set against strong ones, and the PRO prompt pattern: how to ask so that an assistant answers the question you meant, which matters twice over when the answer is code.
- 91 Copilot prompts for Excel Weak vs strong prompts and the PRO prompt pattern 5 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) Copilot and ChatGPT write formula columns and you verify each one: the routine of letting an assistant write and checking the result yourself, which the VBA lessons later turn on code.
- 95 Excel formulas with AI Copilot and ChatGPT write formula columns you verify 6 min
10 Boosting productivity with AI in Excel (Copilot, ChatGPT and Claude) A quick QA checklist for Copilot results, the short routine for testing an AI answer before it counts. Keep it beside you whenever an assistant drafts a macro.
- 99 Check AI output in Excel A quick QA checklist for Copilot results 2 min
14 VBA and macros in Excel: FormatWizard Macros before code: what a macro is and what FormatWizard will become, a first recording that you name and run, absolute references and then relative ones that make it dynamic, a button on the Developer tab and the Quick Access Toolbar, and the macro-enabled .xlsm format that keeps your work.
- 136 Start here Excel macros and VBA for beginners What macros are, the FormatWizard project 3 min
- 137 Record your first Excel macro Name, run and use absolute references 6 min
- 138 Relative references in Excel macros Make recorded macros dynamic 4 min
- 139 Developer Tab in Excel Run macros from a button and the quick access toolbar 4 min
- 140 Save macros in Excel Macro-enabled workbooks and the XLSM file format 3 min
14 VBA and macros in Excel: FormatWizard Inside the VBA editor: Alt+F11 opens it, the workspace is explained, and you learn macro security, the trust settings that decide which workbooks may run code, and how to switch back to Excel.
- 141 The VBA Editor in Excel Open it with Alt+F11 and learn the workspace 4 min
- 142 Working in the VBA editor Macro security, trust settings, switching to Excel 6 min
14 VBA and macros in Excel: FormatWizard Your first code: a module of your own, lines that address worksheets, rows, columns and formatting, then variables and data types, the difference between a Sub and a Function, and GetLastUsedRow, a function built with Find and Exit Function that reports where the data ends.
- 143 Your first VBA code Modules, worksheets, rows, columns and formatting 4 min
- 144 VBA variables and data types Sub vs function for Excel beginners 6 min
- 145 VBA functions in Excel Build GetLastUsedRow with find and exit function 5 min
14 VBA and macros in Excel: FormatWizard The checks, one to a lesson: If statements that reset old flag messages and fill colours, a For Next loop that flags every missing region, If and Else tests that gather a row's faults into one FlagText message, Interior.Color and RGB for the cell at fault, and IsNumeric for a per-unit figure or an amount that is not a number.
- 146 Clear old flags with VBA Reset messages and fill colours with if statements 5 min
- 147 For Next loop in VBA Flag missing region values in Excel 4 min
- 148 VBA If Else and loops Check missing sales data and build a FlagText message 5 min
- 149 Highlight cells with VBA Interior.Color and RGB for missing data 5 min
- 150 IsNumeric in VBA Validate unit price and amount data types in Excel 7 min
14 VBA and macros in Excel: FormatWizard Finishing like a programmer: Debug.Print and the Immediate window show what the code is doing as it runs, then every check is gathered into one subroutine with an error handler, the complete validation macro.
- 151 Debugging VBA for beginners Debug.Print and the Immediate window 5 min
- 152 Complete Excel validation macro One VBA subroutine with an error handler 3 min
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
Is there a course that teaches macros and VBA in Excel from scratch?
Yes. The Complete Excel Course with AI Integration from Coding Liquids teaches both, in that order, inside one industry-standard project called FormatWizard. You record a macro and run it from a button (Lesson 137 to Lesson 139), open the VBA editor (Lesson 141), then write code of your own: variables, a function, If statements, a For Next loop, IsNumeric checks, coloured cells, Debug.Print and an error handler, until Lesson 152 joins it all into one macro that checks a whole sheet in a click. This page picks out 21 lessons, 1 hour 37 minutes of video: the complete VBA and macros section, plus the AI lessons that teach you to check what an assistant drafts. They sit inside a course of 16 hours and 186 lessons, yours with lifetime access, and a Certificate of Completion follows when you complete the course.
Are Excel macros and VBA hard to learn if I have never programmed?
No, when they are taught in the right order, and The Complete Excel Course with AI Integration assumes no programming at all. The section's opening lesson is titled for beginners, and its first run of lessons needs no code: you record, run and save (Lesson 136 to Lesson 140). When code arrives, each lesson adds a single idea to a macro you already understand, and each idea has a twin in the Excel you know: a VBA If statement decides the way the IF function does, and a loop does for every row what you would do by hand for one. Lesson 144 explains variables and data types for Excel beginners, and Lesson 151 teaches debugging for beginners, so an error becomes a clue instead of a dead end. On the instructor support plan, you can send a question from under any of these lessons and the instructor answers it in writing.
Is VBA still relevant now that AI tools can write code?
Yes, and knowing it matters more now than it did, because an assistant drafts a macro in seconds but cannot answer for what that macro does to your data. Ask Copilot, ChatGPT or Claude for an Excel macro and what comes back is VBA, the language behind every macro in desktop Excel. Someone still has to tell whether the loop stops at the last row, whether a blank cell is handled and what happens when a figure turns out to be text, and The Complete Excel Course with AI Integration trains that someone: you build a last-row function yourself (Lesson 145), test for blanks inside a loop (Lesson 147), check data types with IsNumeric (Lesson 150) and add an error handler (Lesson 152). With that behind you, an assistant becomes a fast typist working to your design. Without it, you are pasting code you cannot read into a workbook your job depends on.
In what order should a beginner learn macros and VBA?
Record first, read second, write third: the order The Complete Excel Course with AI Integration follows. Recording comes first because it gives a result in minutes and shows what a macro is (Lesson 137). Reading comes next: the VBA editor opens with Alt+F11, and behind your recording sits code you can already follow (Lesson 141). Writing starts small, with a module and a few lines that address a worksheet, its rows, its columns and their formatting (Lesson 143), then adds one idea a lesson: variables, a function, an If statement, a loop, a colour, a data-type check (Lesson 144 to Lesson 150). Debugging and error handling come last (Lesson 151 and Lesson 152), when there is real code to debug. Every lesson adds to the same macro, so nothing is learned in the abstract and nothing is left unused.
What will I learn about Excel macros before any VBA code is written?
Everything that turns a recording into a tool you use every day. In The Complete Excel Course with AI Integration, Lesson 136 explains what a macro is and introduces the FormatWizard project. Lesson 137 records your first one: you name it, give it a shortcut, run it and see how its absolute references always return to the same cells, and you meet the Personal Macro Workbook, the home for a macro you want in every file. Lesson 138 switches to relative references, which make the recording dynamic, so it works from wherever you start it. Lesson 139 switches on the Developer tab and runs the macro from a button and from the Quick Access Toolbar, and Lesson 140 saves the workbook in the macro-enabled .xlsm format, the one that keeps your macros. By the end of that run, a formatting job you repeat every week is automated, down to one click, and you have not typed a line of code.
Which VBA topics does the course cover once the coding starts?
The working core of VBA, Visual Basic for Applications, one topic to a lesson. In The Complete Excel Course with AI Integration you learn the VBA editor and its workspace (Lesson 141), macro security and trust settings (Lesson 142), modules and code that addresses worksheets, rows, columns and formatting (Lesson 143), variables, data types and the difference between a Sub and a Function (Lesson 144), and a function of your own, GetLastUsedRow, built with Find and Exit Function (Lesson 145). Then come If statements (Lesson 146), the For Next loop (Lesson 147), If and Else inside a loop (Lesson 148), Interior.Color and RGB (Lesson 149), IsNumeric (Lesson 150), Debug.Print and the Immediate window (Lesson 151) and an error handler (Lesson 152). Subroutines and functions, loops, conditions, debugging and error handling: the topics a VBA syllabus lists, taught here on one real workbook instead of on disconnected snippets.
What does FormatWizard, the macro I finish with, actually do?
It does in one click the check you now make by eye: every row of a sales sheet is read, and what is wrong is written down beside it. FormatWizard, the project you build in The Complete Excel Course with AI Integration, first clears the flags and fill colours of the last run (Lesson 146). A For Next loop then visits every row and flags a missing region (Lesson 147), further tests catch a missing salesperson and gather each row's faults into one FlagText message (Lesson 148), Interior.Color and RGB colour the cells at fault (Lesson 149), and IsNumeric catches a per-unit figure or an amount that is not a number (Lesson 150). Lesson 152 joins every check in one subroutine with an error handler. It is an industry-standard project, designed after talking with people from many different industries. The lessons use sales records; an invoice list, a timesheet export or a stock count is checked the same way.
How long do the VBA lessons take, and how soon can I use a macro at work?
About 1 hour 37 minutes of video for everything on this page, and the first macro you can use at work comes well before the end. The lessons that need no code come first: by Lesson 140 of The Complete Excel Course with AI Integration you have a recorded macro that replays your formatting on any row you select, a button that runs it and a macro-enabled workbook that keeps it. The checks you write in VBA arrive one short lesson at a time after that, until Lesson 152 joins them into the finished macro. Every lesson in the section runs only a few minutes, so the 21 lessons here fit into one or two sittings. Count the video as the floor: typing the code yourself and pointing it at a sheet of your own takes longer, and it is the part that makes the skill yours. It is online video with no timetable, so you watch when work allows and return to any lesson later.
What do the Copilot, ChatGPT and Claude lessons add to a VBA course?
The half of the job that begins once an assistant has answered. The Complete Excel Course with AI Integration teaches AI in Excel in lessons of its own, and the ones that belong beside VBA are on this page: what Copilot, ChatGPT and Claude can and cannot do (Lesson 88), weak prompts against strong ones and the PRO prompt pattern (Lesson 91), formula columns that Copilot and ChatGPT write and you verify (Lesson 95), and a quick QA checklist for Copilot results (Lesson 99). The VBA section then turns the habit on code: in Lesson 148 you write parts of the macro with Claude or ChatGPT and correct what comes back. You finish able to do the one thing no prompt does for you: say whether the code is right.
How advanced is the VBA: does it go beyond recorded macros?
Well beyond: The Complete Excel Course with AI Integration starts for beginners and finishes at a complete tool you can defend line by line, a macro with a function of its own, a loop, several validation rules, coloured output, debugging and an error handler. By Lesson 145 you have written GetLastUsedRow, a function built with Find and Exit Function; by Lesson 150 your loop tests data types with IsNumeric; and Lesson 152 gathers every routine into one subroutine behind an error handler. UserForms, event macros, Office Scripts and controlling other programs such as Outlook are not in the lessons: the section spends its time on the logic all of those rest on. An experienced Excel user who has never written code will find it a real step up, and can start at Lesson 141, where the VBA editor opens.
Do recorded macros and VBA run in Excel for Mac and Excel on the web?
On a Mac, yes, as on Windows; a browser is the one place they do not run. VBA is part of desktop Excel for Windows and for Mac, and the requirements of The Complete Excel Course with AI Integration name only its Power Pivot and Power Automate sections as needing Windows, so the VBA and macros lessons, from the first recording (Lesson 137) to the finished validation macro (Lesson 152), are open to both. Excel on the web does not run VBA: Office Scripts take its place there, and these lessons do not teach them. What you learn here is the desktop skill, including the two things a colleague must know before opening your file: the macro-enabled .xlsm format (Lesson 140) and the macro security and trust settings that decide when a workbook's code may run (Lesson 142).
Do I get the FormatWizard workbook and the finished code to compare with mine?
Yes, both. FormatWizard in The Complete Excel Course with AI Integration comes with a starter workbook, the sheet of sales records you build on from Lesson 136, and with the finished macro-enabled workbook that holds every routine, so when your loop misbehaves you can set your code beside the working version and find the difference. Typing it yourself is the point: Lesson 148 sets part of the build as a challenge before the solution is shown, and a quiz at the end of the section checks what stuck, from relative references to the error handler. The finished file is a real .xlsm workbook, not a snippet on a web page, so it doubles as a template: keep it, change the columns it checks, and you have the start of a validation tool for your own data.
Does the Excel VBA and macros course give a certificate?
Yes: a Certificate of Completion, earned by completing The Complete Excel Course with AI Integration as a whole. It reaches you by email as a PDF, with a verification link an employer can check, and you can share it on LinkedIn. It records that you completed the course and is not a Microsoft certification. For VBA, what stands behind it counts for even more: FormatWizard, a validation macro you wrote line by line (Lesson 143 to Lesson 152), ready to open in an interview and explain, loop by loop. Asked how you would stop bad data reaching a report, you can show a function that finds the last used row (Lesson 145), an IsNumeric test (Lesson 150) and an error handler, and say why each one is there. A certificate says you finished; a macro you can explain shows you can do the work, and this course gives you both.
I only want VBA. Why take it inside a complete Excel course?
Because a macro is only as good as the Excel around it, and here the rest is already yours. The VBA section stands by itself: start at Lesson 136 with its starter workbook and you can finish it without the other sections. But The Complete Excel Course with AI Integration holds 186 lessons and 14 projects across 16 hours, so the day your macro needs a lookup, a PivotTable or a cleaner source, the lesson is waiting. The section itself hands the data work on to Power Query as it closes (Lesson 152), the tool for files that arrive again and again, and Power Automate Desktop follows, on Windows, for routines that drive Excel from outside (Lesson 174). Buy once, keep lifetime access, and learn each tool when the work asks for it. You are covered by a 14-day money-back guarantee while you decide.
Excel with AI
See the whole course.
The Complete Excel Course with AI Integration: 16 hours of video in 186 lessons, built around 14 industry-standard projects, with lifetime access, a Certificate of Completion and a 14-day money-back guarantee.
The same course