Agentic Coding · Workshop · Actuarial, finance & OR

Excel VBA to Python Migration: A Workshop for Finance and Controlling Models with Coding Agents

Move spreadsheet models and macros that have grown over the years into tested Python code, cell by cell and with evidence, using coding agents that analyse, translate and compare.

  • Workshops & trainings since 2014
  • jocapps GmbH · Freiburg, Germany
  • The team behind Mathe-VollLogo
Format
Workshop
Duration
1 day (7.5 hours)
Delivery
Live online · On-site (in-house) · Hybrid
Group size
4–12 participants
Level
Intermediate
Language
German or English

Tools: Claude Code · Python · pandas · openpyxl · pytest

Many finance models live in workbooks with nested formulas, hidden sheets and VBA macros that only a few people still understand. An Excel VBA to Python migration first requires knowing what the model actually calculates, and then showing that the new version produces the same results. Coding agents help with both: they read macros and formula chains, draw a dependency map, translate logic into Python and generate parity tests against the original workbook. In this workshop you follow that path on a realistic planning model, including rounding, date logic and the edge cases that most often cause differences in such a switch.

Who the Excel VBA migration workshop is for

Controlling, treasury, financial planning, actuarial teams and business developers who look after critical Excel models with VBA macros and want to move them into maintainable code.

What you'll walk away with

  • Have the agent analyse a workbook's formulas, names and macros and present them as a dependency map
  • Translate VBA procedures and formula chains step by step into readable Python functions
  • Build parity tests that use the original workbook as the reference and justify every tolerance
  • Check typical sources of differences such as rounding, date arithmetic, empty cells and floating-point representation
  • Draw up a handover plan with parallel running, responsibilities and documentation for the business team

Typical scenarios

  1. A treasury team moves a net interest income model with several macros into Python and runs both versions in parallel over all month-end positions until every difference is explained.
  2. In controlling, a tested script replaces a cost allocation workbook whose VBA code nobody dared to touch after the colleague who built it had left.
  3. An actuarial team discovers during parity testing that the old workbook counts interest days differently from its documentation and records the decision for the new version in writing.

Does this fit your team?

Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.

Request dates

What the Excel VBA migration workshop covers

  1. Taking stock of the workbookThe agent reads formulas, named ranges, hidden sheets and macros and maps the dependencies.
  2. Understanding logic before translating itYou have macros explained in plain language, flag unclear points and resolve them with the people responsible for the model.
  3. Step-by-step translation to PythonSmall, testable functions rather than one big rewrite, with pandas for tables and clear input and output formats.
  4. Parity tests against the originalThe original workbook is the reference; tests compare intermediate and final values with justified tolerances.
  5. Explaining differences and handing overRounding, date logic and edge cases, plus parallel running, documentation and responsibilities after the switch.

Before the Excel VBA migration workshop: prerequisites

  • Good Excel skills and basic Python; being able to read VBA helps
  • Excel and Python on the same machine, plus a coding agent permitted for internal files
  • Optionally a cleaned copy of one of your own models without confidential data

Materials you keep

  • A step-by-step approach for moving spreadsheet models to code, with checkpoints
  • A template for parity tests against an Excel reference
  • A list of typical sources of differences with checking rules

How it works

  1. Request with preferred datesTick the date proposals that suit you or name a period of your own.
  2. Short callWe talk about your goals, prior knowledge and the tools your team already uses.
  3. Agenda for your teamYou receive a plan tailored to your group, with exercises that match your subject and material.
  4. Course and materialsThe course runs online, on-site or hybrid, and you keep the materials afterwards.

Why train with us

  • jocapps GmbH has offered workshops and trainings since 2014. The topics have moved with the technology; today the focus is on agentic coding and prompt engineering.
  • Hands-on rather than slides: you practise on realistic examples from maths and STEM, or on your own tasks, code or prompts if you wish.
  • Online, on-site or hybrid, held in German or English.
  • jocapps GmbH is certified to ISO 27001 (information security) and ISO 9001 (quality management).

Questions about the Excel VBA migration workshop

Does the model have to drop Excel entirely afterwards?

Not necessarily. Excel often remains as the familiar input or reporting layer while the actual calculation logic lives in tested Python. In the workshop we discuss which split suits your model, based on how it is used, how often it changes and how much is at stake.

What about models nobody understands any more?

That is exactly where the agent's analysis helps, because it explains logic in plain language and makes dependencies visible. Confirming which behaviour is correct remains the job of your subject experts, and the workshop explicitly plans time for that.

May we use real financial data in the workshop?

We recommend cleaned copies with synthetic values. Whether and which data may go into an AI tool is governed by your internal policies. Please check with information security and compliance beforehand so that nothing has to be improvised on the day.

Is the workshop held online or on-site, and in which language?

Both are possible: live online, at your premises (in-house) or hybrid. The course is held in German or English; you choose when you send the request.

Can the content be tailored to our team?

Yes. The agenda, examples and emphasis are agreed in the call beforehand, based on your team's prior knowledge, subjects and tools. On request we work with your own exercises, data or code.