VBA for finance and accounting: the intensive course
Six cases from finance and accounting where you automate the work that comes back every month: the budget vs actual report, summarizing the journal, the bank reconciliation, aged receivables, cost allocation and a report pack with one sheet per cost center. You write every macro yourself, in the browser, with no Excel to install.
In short: finance and accounting repeat the same steps every month: work out variances, total up accounts, tick off bank lines, age the receivables, spread overheads, copy reports. A macro does that in seconds and does it the same way every time. This course drills exactly those macros on realistic data. Every task is also checked against hidden data with different numbers, so hard-coded row numbers and typed-in results fail.
Who this course is for
Financial analysts, FP&A teams, accountants, controllers and finance managers who build their monthly reports in Excel and are tired of doing the repetitive steps by hand. On the finance side, the course assumes the basics: debits and credits, cost centers, budget vs actual, open invoices. Each case page briefly explains the terms it relies on.
The VBA you need
You should be comfortable with loops and finding the last row, and you should have worked with more than one sheet. Levels 1 to 5 of the VBA course are recommended. These lessons come up most often:
- WorksheetFunction for Sum, SumIf, CountIf and Match from code;
- Select Case for buckets and thresholds;
- Find to match two lists;
- Dictionary and Collection to total things up by key;
- Create a report for new sheets with headers and formats.
None of it is mandatory: the hints on each task lead you to the answer in three steps, and where a case needs a technique, it links to the lesson.
The practice data
Every case takes place at a made-up mid-sized manufacturer with cost centers such as Admin, Production, Sales, Marketing, IT and Warehouse. The data is from spring 2026: the March cost report and journal, the March bank statement and open invoices at 30 Jun 2026. Amounts sit in the cells without a currency symbol, so they read the same in dollars or pounds. Account numbers in the month-end case are simple examples, not a standard chart of accounts, and the data contains no sales tax or VAT lines.
Above each task you see the workbook with all its sheets. Run tries your macro and shows the result on the sheet, Check has the server compare it with the model answer, both on the visible data and on a hidden second month with different numbers and more rows.
The six cases
| Case | What the macro does | VBA you practice |
|---|---|---|
| 1 Budget vs actual | variance in amount and percent, a flag based on two thresholds, a total row | loop to the last row, Abs, And, Format |
| 2 Month-end close | summarize the journal by account and check that debits equal credits | SumIf across sheets, Dictionary, Round |
| 3 Reconciliation | tick the bank statement off against the books, flag differences and open items | Find with a Nothing check, CountIf, fill color |
| 4 Aged receivables | days past due, aging buckets, aging summary and reminder list | date math, Select Case, two row counters |
| 5 Cost allocation | spread overheads by floor area with a rounding difference, an allocation sheet with several keys | Round, nested loops, Match, Resize |
| 6 Report pack | add a report sheet per cost center and build a summary of all sheets | Worksheets.Add, For Each over sheets, formats |
That is 14 tasks in all. The order follows the month: first the report everyone asks for, then the close and the reconciliation, then receivables and allocations, and finally the pack that pulls it all together.
What you can do afterwards
- automate a budget vs actual report so it still runs next month with more cost centers;
- total journal lines by account with SumIf or a Dictionary and check that debits and credits agree;
- match two lists on a reference without the macro crashing on a missing entry;
- calculate with dates and put items into the right bucket right at the edges;
- spread amounts to the cent without losing a cent in the total;
- add, name and fill sheets and report across every sheet in a workbook.
The certificate
The course has its own certificate, "VBA for finance and accounting". You earn it by solving every case task, at least 80% of them without revealing the solution. If you looked at the solution for a task, you can solve it again in a retake round with different data at the earliest 24 hours later, and then it counts. The server checks your macros, including against the hidden variant data. The certificate shows your name, the date and the list of cases, and has a public verification link for job applications or LinkedIn. It is part of Premium and needs a confirmed email address; you can try the first task of every case for free. It is a LearnThisNext credential, not a Microsoft certification or a professional body qualification.
Your progress, the open tasks and the certificate form are in the course view in your account. All VBA courses for other roles are listed under VBA intensive courses.
Frequently asked questions
Do I need Excel to take the course?
No. The macros run on our server against a simulated workbook, and you see the result right below the task. You can take the finished code into your own Excel: press Alt+F11 to open the VBA editor, insert a module and save the workbook as .xlsm.
Is VBA still worth it in finance now that there is Power Query and Power BI?
For a lot of the monthly work, yes: adding and naming sheets, flagging cells by value, building a workbook per department, finishing a check with a message. Power Query is strong at loading and reshaping data, VBA at everything that should happen in the workbook afterwards. The two work well together.
How long does the course take?
That depends on your experience. There are six cases with 14 tasks in total and no time limit. Your progress is saved, so you can stop at any point.
Are the numbers real?
No. The company, customers, suppliers and amounts are made up. The data is consistent, though: the journal balances, and the bank statement is missing exactly the entries that would be missing in real life. In the month-end case the check data deliberately contains a posting error.
Can I write my answer differently from the model answer?
Yes. The check looks at what is in the workbook after the macro runs, not at the text of your code. For Next or For Each, Find or Match, If or Select Case is up to you, as long as values, formats and messages match.
Are the same cases available without macros?
Yes. Budget vs actual and overhead allocation with formulas are in the Excel course for financial analysts, receivables aging and bank reconciliation in the Excel course for accountants, and the queries straight on the database in SQL for finance.