The Complete Excel Course with AI Integration

Excel macros and VBA for project managers

Every week the tracker needs the same care: at-risk rows formatted, tasks without an owner or a date chased, hours and percent complete checked for words where numbers belong. The Complete Excel Course with AI Integration hands that routine to macros and VBA on FormatWizard, an industry-standard project, and this page reads its whole macro section for project work: recording, buttons, the VBA editor, loops, flags and one validation macro.

Taught by Sagnik Bhattacharya and Virginia Thorn

The Complete Excel Course with AI Integration: Sagnik Bhattacharya and Virginia Thorn

What you will be able to do

At work, you will be able to:

  • Record the formatting you give at-risk or overdue rows every week, with relative references so one shortcut formats whichever task row you are on.
  • Put a macro on the Developer tab or the Quick Access Toolbar and save the tracker as a macro-enabled .xlsm file the team can open and run.
  • Open the VBA editor, read the code a recording produced, and write a first module that points at the tracker's sheet under Option Explicit.
  • Find where the task list ends with GetLastUsedRow, so every check covers every row however many tasks the plan has gained.
  • Loop through every task with For Next and If and Else, writing one flag per row that names each missing owner, due date or status.
  • Colour the cells at fault with Interior.Color and RGB, and catch words such as TBC in an hours or percent complete column with IsNumeric.
  • Clear last week's flags, watch the code with Debug.Print in the Immediate window, and run every check from one subroutine with an error handler.

Projects

What you will build.

The course has 14 industry-standard projects. These four matter most here.

  • Project 11

    FormatWizard

    One click that checks a whole sheet for you.

    The check every shared tracker needs before a review: old flags cleared, each row read for blanks and for words in number columns, faults named beside the row and coloured, and one master routine behind an error handler. The sales sheet it guards stands in for your task list.

  • Project 07

    TaskFlow

    One sheet that shows what is done, what is late and what is urgent.

    The tracker these macros look after: status and priority drop-downs, highlights for overdue work and a count of working days left. Drop-downs keep bad entries out as they are typed; a VBA check finds the ones pasted in, or left from before the lists existed.

  • Project 13

    AutoFlow

    The weekly report routine, run by a flow instead of by you.

    Where the routine leaves the workbook: Power Automate Desktop flows, on Windows, that open the tracker, read rows, ask a Yes or No question and write the answer back. Set beside FormatWizard, it shows when a flow beats a macro and when it does not.

  • Project 14

    Agentic AI in Excel

    AI finds and fixes the formula; you check it before it counts.

    The habit that keeps AI-written code safe: Copilot and ChatGPT draft formula columns that you verify, and a QA checklist for every result, the same scrutiny the VBA lessons then turn on a macro an assistant has drafted.

Tap or pinch to zoom in, drag to move around. Click or scroll to zoom in, drag to move around.

Lessons

The lessons that matter, in course order.

The Complete Excel Course with AI Integration has 186 lessons. This page picks out 17 of them, 1 h 16 min of video. Each lesson keeps its number in the course.

Where to start

Lesson 136 Excel macros and VBA for beginners

Begin at Lesson 136 if formulas such as IF are familiar: no programming is assumed, and recording comes before any code. New to Excel altogether? Start at Lesson 1, or build TaskFlow from Lesson 79 first, the tracker these checks are made to guard. Recording macros already? Jump to Lesson 141, where the editor opens and the code starts.

17 of 186 lessons · 1 h 16 min

14 VBA and macros in Excel: FormatWizard 5 of 17 lessons · 19 min Recording first, no code yet: a first macro named, given a shortcut and run, the switch to relative references that lets it format any task row you select, the Developer tab and a Quick Access Toolbar button, and the macro-enabled .xlsm file that keeps it. The weekly status report formatting can be automated before this run ends.
  1. 136 Start here Excel macros and VBA for beginners What macros are, the FormatWizard project 3 min
  2. 137 Record your first Excel macro Name, run and use absolute references 6 min
  3. 138 Relative references in Excel macros Make recorded macros dynamic 4 min
  4. 139 Developer Tab in Excel Run macros from a button and the quick access toolbar 4 min
  5. 140 Save macros in Excel Macro-enabled workbooks and the XLSM file format 3 min
14 VBA and macros in Excel: FormatWizard 5 of 17 lessons · 23 min Reading and then writing VBA: the editor opened with Alt+F11, the trust settings a colleague meets when the tracker holds code, a first module that points at a worksheet, declared variables under Option Explicit, and GetLastUsedRow, the function that tells each check where the task list ends however long it grows.
  1. 141 The VBA Editor in Excel Open it with Alt+F11 and learn the workspace 4 min
  2. 142 Working in the VBA editor Macro security, trust settings, switching to Excel 6 min
  3. 143 Your first VBA code Modules, worksheets, rows, columns and formatting 4 min
  4. 144 VBA variables and data types Sub vs function for Excel beginners 6 min
  5. 145 VBA functions in Excel Build GetLastUsedRow with find and exit function 5 min
14 VBA and macros in Excel: FormatWizard 5 of 17 lessons · 27 min One check per lesson: last run's flags and fills cleared, a For Next loop that marks every blank in a required column, If and Else tests that gather a row's faults into one note, cells at fault coloured with RGB, and IsNumeric for words typed where a number belongs. The lessons check sales records; owner, due date and hours columns take the same tests.
  1. 146 Clear old flags with VBA Reset messages and fill colours with if statements 5 min
  2. 147 For Next loop in VBA Flag missing region values in Excel 4 min
  3. 148 VBA If Else and loops Check missing sales data and build a FlagText message 5 min
  4. 149 Highlight cells with VBA Interior.Color and RGB for missing data 5 min
  5. 150 IsNumeric in VBA Validate unit price and amount data types in Excel 7 min
14 VBA and macros in Excel: FormatWizard 2 of 17 lessons · 8 min Finishing with confidence: Debug.Print and the Immediate window to see which cells the code reads before it writes a single flag, then RunFullValidation, one subroutine that runs every check in order behind an error handler, the click you make before each project review.
  1. 151 Debugging VBA for beginners Debug.Print and the Immediate window 5 min
  2. 152 Complete Excel validation macro One VBA subroutine with an error handler 3 min

Instructors

Who teaches it.

Virginia Thorn smiling at the camera, dark hair tied back, wearing a navy top.

Instructor, Excel with AI

Virginia Thorn

Emmy Award winner. Teaches Excel with AI at Coding Liquids.

Questions

Asked before starting.

Which Excel macros and VBA skills does a project manager actually need, and where are they taught?

Three: recording a routine, writing a check that reads every row, and putting each one click away, and The Complete Excel Course with AI Integration from Coding Liquids teaches all three on FormatWizard, an industry-standard project designed after talking with people from many different industries. The recording half turns the formatting you repeat on a status report into a single keystroke (Lesson 137 to Lesson 140). The VBA half writes the kind of check a shared tracker needs: a loop that visits every row, flags blanks, colours the cells at fault and catches words in a number column, finished as one macro behind an error handler (Lesson 152). This page reads the whole macro section for project work, 17 lessons and 1 hour 16 minutes in all. The lessons check a sheet of sales records; point the same code at your owner, due date and hours columns and it checks your tracker instead, every row, every week, in one run.

Status reports, tracker checks, weekly formatting: which project chores are worth a macro?

The ones you repeat by hand on the same layout every week, and The Complete Excel Course with AI Integration teaches the two kinds that give a project manager the most time back. Formatting is the first: whatever you do to the status report each Friday, bold the at-risk rows, colour the late ones, set the dates to one format, a recorded macro replays in a keystroke (Lesson 137). Checking is the second: a VBA loop reads every task row for a missing owner or date and for words where hours belong, writes what it found beside the row and colours the cell (Lesson 147 to Lesson 150). Gathering rows from many files is done in the course by Power Query from a folder (Lesson 166), and a routine that drives Excel from outside by a Power Automate flow on Windows (Lesson 174); emailing or saving PDF files by macro is not taught. What remains is the work macros do best: fast, repeatable and inside the workbook.

Can one macro note everything missing from a task row, owner, due date and all, in a single flag beside it?

Yes: that is the FlagText pattern The Complete Excel Course with AI Integration builds in Lesson 148. For every row a text variable is emptied first, then each test that fails adds its message after a pipe, and the finished text goes into the Flag column. The lesson tests Region and Salesperson, so one row ends up naming both faults, another only one, and a complete row stays clear. Rename the tests for your tracker, owner missing, due date missing, status missing, and one glance at the column tells a workstream lead exactly what to fill in. Lesson 147 builds the loop underneath, with Trim so a cell holding only spaces still counts as empty, and Lesson 149 colours the empty cell itself light red, so the note and the gap are both in plain view. The flag column becomes the to-do list you hand the team before the review, written by the macro instead of by you.

Team leads type done or nearly in the percent complete column: can a macro find every one?

Yes: IsNumeric finds them, and The Complete Excel Course with AI Integration builds the check in Lesson 150. The loop asks of every row whether the value in a number column can be treated as a number; where the answer is no, it colours that cell and the flag cell light red and writes that the entry is invalid. The lesson guards the per-unit figure of a sales sheet, and the same test guards percent complete, hours booked, estimates and costs in a tracker, the columns where a word such as done, TBC or nearly slips in and quietly spoils every total and average built on them. The message says invalid rather than missing, so a blank and a bad entry are told apart. Run it before the progress figures go into a report and the words are caught on your desk, not in the steering meeting. Correcting them stays your call; the macro makes sure none is missed.

Each at-risk task sits on a different row every week: can one keystroke format whichever row I am on?

Yes, with a macro recorded in relative references, the switch The Complete Excel Course with AI Integration teaches in Lesson 138. Lesson 137 records the default way first, and that macro formats the same fixed row every time it runs, which suits a header or a total line and nothing that moves. Turn on Use Relative References before recording and Excel follows your movement from the starting cell instead, so the macro formats whichever row you start it from: the lesson proves it on a second row, the real test. Give it a shortcut such as Ctrl+Shift+Q and your weekly pass down the tracker becomes select a row, press the keys, move on. Keep one warning the lessons give: Ctrl+Z cannot undo a macro, so save before a first run on the live file. Once the recording behaves, Lesson 139 puts it on a toolbar button.

Workstream leads never open the VBA editor: can they still run the tracker check?

Yes, and The Complete Excel Course with AI Integration shows every way in. Lesson 139 switches on the Developer tab and runs macros from its Macros list, then adds a macro to the Quick Access Toolbar with an icon of its own, a one-click button each lead can set up in their own Excel the same way. Lesson 140 saves the workbook in the macro-enabled .xlsm format, since a standard .xlsx strips every macro out, and Lesson 142 covers what a colleague meets on opening it: the yellow bar that asks to enable content, the trust settings behind it, and the sound rule of enabling content only for files you trust. Explain that one bar to the leads and the check is theirs to run. Macros work in desktop Excel on Windows and on a Mac, so a mixed team can share the tracker; the lessons are shown on Windows, and the Mac screens differ only slightly.

The task list grows every week as the plan is broken down: will the macro keep finding its end?

Yes, because you write the function that finds it. In The Complete Excel Course with AI Integration, Lesson 145 builds GetLastUsedRow: it returns zero for an empty sheet and stops, and otherwise searches upwards from the bottom for the last cell holding anything and returns its row. The lesson proves it by running the function, pasting one more row and running it again: the answer moves from 5071 to 5072 with no edit to the code. Every check after it loops from the second row to that number, so tasks added this week are checked this week, whether the plan holds forty rows or four thousand. Lesson 146 adds a guard that stops with a message when the sheet holds only headers, and Lesson 144 explains why the work is split this way: a Sub does the job, while a Function hands back an answer that every macro in the workbook can reuse.

Last week's flags are still in the tracker: does the macro clear them before it checks again?

Yes, first thing, and The Complete Excel Course with AI Integration gives that job a macro of its own in Lesson 146. Before any test runs, the routine finds the last row, empties the Flag column's messages from the second row down, removes its fill colours and then reports that it is done. Without that step, a task fixed on Tuesday would still carry last week's warning on Friday, and the team would stop believing the column within a fortnight. The lesson tests the reset properly: text and a yellow fill are typed into a flag cell by hand, and the macro is run again to show both disappear. In the finished tool, Lesson 152 calls this cleanup ahead of every check, so each run starts from an empty column and every flag on the page describes the tracker as it stands today. That freshness is what turns a weekly check into something a project team acts on.

My checks live in separate macros: can one button run them all in the right order?

Yes: The Complete Excel Course with AI Integration ends its macro section with exactly that master routine. Lesson 152 reads RunFullValidation, which turns screen updating off so the run goes faster, calls the cleanup, then the missing-value checks, then the number check, in that order, switches screen updating back on and shows a success message. An error handler wraps the whole run: if something fails, it restores the screen and shows the error's description instead of crashing. The lesson also fixes a trap every combined check meets: two routines writing to the same flag cell must add to it after a pipe, or the second wipes out what the first wrote. For a tracker that means one click before the weekly review clears old flags, tests every task and leaves a complete list of what needs chasing, and if anything goes wrong, you are told what it was.

When a milestone slips, can VBA push the later dates and the Gantt chart along?

The timeline needs no macro for that: in The Complete Excel Course with AI Integration it follows the dates you type. TaskFlow's Gantt chart (Lesson 83) is a project timeline showing each task's start and length against the dates, and the days-remaining count (Lesson 85) works from TODAY, so change a date and both move with it. Rescheduling every later task through a predecessor column is planning-tool logic the lessons leave out. The VBA you do learn is what such a script is made of: a loop over every task row (Lesson 147), If tests on a cell's value that write a result into the row (Lesson 148), and Debug.Print to watch each step before it touches the sheet (Lesson 151). Most trackers need far less: the slip typed once, the timeline and countdown updating by themselves, and the validation macro confirming that no task lost its owner or its date on the way.

An AI assistant offered to write the macro for my tracker: which parts should a project manager test first?

Three parts, and The Complete Excel Course with AI Integration teaches you to test each. First, where it reads: Lesson 151 uses Debug.Print and the Immediate window to show which rows and values the code visits, printing nothing to the sheet, so you can confirm it reads the owner column and not the one beside it before a single flag is written. Second, where it stops: the last row should come from a function such as GetLastUsedRow (Lesson 145), not a fixed number that quietly stops checking once the plan grows. Third, what it does with bad data, blanks, words in number columns and errors, which IsNumeric (Lesson 150) and an error handler (Lesson 152) cover. Lesson 148 itself has you write parts of the macro with Claude or ChatGPT and correct what comes back, and Lesson 99 adds a checklist for any AI output. Option Explicit (Lesson 144) catches the mistyped names assistants and people both produce.

Should the Monday tracker routine be a macro or a Power Automate flow?

It depends where the routine lives, and The Complete Excel Course with AI Integration teaches both so the choice is yours. Work inside one workbook, formatting rows and checking every task, is a macro's home: VBA usually runs faster over many rows, and the finished FormatWizard check (Lesson 152) works through a whole sheet in one run. Work that drives Excel from outside belongs to Power Automate Desktop, built in AutoFlow from Lesson 174 on Windows: a flow opens the workbook, reads rows, asks a Yes or No question and writes the answer back, with its logic laid out as steps anyone can read without code. The course's own comparison sums it up: a macro records VBA, while a flow records a visual sequence you can inspect, edit and share. VBA is still the language behind every macro in desktop Excel, so the skill stays as current as the trackers your team runs there.

Is there a macro workbook to download, and can it be pointed at my own tracker?

Yes on both counts: The Complete Excel Course with AI Integration gives you FormatWizard as a starter workbook and as the finished, macro-enabled version with every routine in it. Build along from the starter in Lesson 136, and when your loop misbehaves, open the finished file and set your code beside the working one. Pointing it at a tracker is a matter of letters and words: the lessons check column B for a region, column C for a salesperson and column F for a per-unit figure, with flags in column H, so swap in your owner, due date and hours columns and rename the messages. The sheet is found by its name (Lesson 143), so change that line too. Unlike a macro pasted from a forum, every line of this one is code you typed and understand, which is what makes changing it safe. The workbooks sit inside the course, not in a PDF of snippets, and lifetime access keeps them yours.

I have never written code: how long until a macro is checking my real project tracker?

About 1 hour 16 minutes of lessons, and a recorded macro is working long before the end. The Complete Excel Course with AI Integration keeps code out of the first stretch entirely: by Lesson 140 you have recorded a macro, run it from a button and saved it in a macro-enabled workbook, which already covers your weekly formatting. Code starts at Lesson 143 with a single line that points at a worksheet, and each lesson after it adds one idea, a variable, a function, an If statement, a loop, a colour, a type check, until Lesson 152 joins them into the finished check. Your formula habits help: an If statement in VBA tests a condition much as you already test one in a cell. Rebuild each step on a copy of your tracker as you go and the check is yours by the final lesson. On the instructor support plan, a question about your own code goes to the instructor in writing, and completing the course earns a Certificate of Completion.

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.