# VBA

The programming language built into Microsoft Office, used to write macros that automate repeated steps in Excel, Word and PowerPoint.

By [Matthew Farquhar](https://capstackcareers.com/about/matthew-farquhar)

Data by Capstack · 13 sources · Last verified November 2026

> **Matthew’s take**
>
> Learn Excel first, then only enough VBA to record and edit a macro, since interviews rarely ask and the bank usually ships its own.

![Macro code open in the Visual Basic Editor](https://capstackcareers.com/tools/vba-1.png)

Image: [Microsoft](https://learn.microsoft.com/en-us/office/vba/library-reference/concepts/getting-started-with-vba-in-office)

## At a glance

- Maker: Microsoft
- Category: On the job
- Used by: Investment banking (mainly), Sales and trading
- Pricing: Free
- Certificate: Microsoft Office Specialist: Excel Expert (Microsoft 365 Apps), exam MO-211, which covers advanced formulas and macros
- Learn it: Microsoft’s VBA guide
- In interviews: Rarely

## Similar tools

- [Python](https://capstackcareers.com/library/tools/python): On the job
- [Macabacus](https://capstackcareers.com/library/tools/macabacus): On the job
- [Microsoft Excel](https://capstackcareers.com/library/tools/excel): On the job

## What it is

VBA, short for Visual Basic for Applications, is the programming language built into Excel, Word, PowerPoint and the rest of Microsoft Office. Microsoft describes it as a way to [extend Office applications](https://learn.microsoft.com/en-us/office/vba/library-reference/concepts/getting-started-with-vba-in-office): nearly anything you can do with the mouse or keyboard, VBA can do in code, and a change made once can be repeated a hundred times. A recorded or written VBA routine is called a macro.

In investment banking, VBA lives mostly in the background. Banks and add-in vendors ship macros for formatting and other repeated steps, and some analysts write their own. Breaking Into Wall Street says it [helps to be familiar with VBA](https://breakingintowallstreet.com/kb/excel/excel-vba-programming/) because it saves time on the job, but that you do not need it for interviews, and suggests spending about 10 to 20% of your Excel training time on the basics.

VBA is also older and more restricted than it was. Since 2022, Office on Windows has [blocked macros in files from the internet by default](https://learn.microsoft.com/en-us/microsoft-365-apps/security/internet-macros-blocked), because VBA macros are a common way to spread malware, so a bank’s IT team decides which macros run.

### What it’s useful for

VBA is useful for the jobs an analyst does over and over. A common example is formatting: setting the borders, alignment, fill and font colour of an input cell takes several separate keystrokes, and a macro does it in one. Breaking Into Wall Street’s tutorial builds exactly that, an input box macro, as its first investment banking example. Reports on Wall Street Oasis from working analysts suggest recording a macro, or adding a button to the Quick Access Toolbar, for any step that takes four or more keystrokes.

VBA can also move content between Office applications, such as data from Excel into a set of PowerPoint slides, which Microsoft lists among its main uses.

VBA is less useful for building the model itself. Mergers & Inquisitions tells interns not to expect to work on complex Excel, VBA or Python models at all. Some of the formatting macros a student might write are also covered by an add-in such as Macabacus.

### When you’d use it

You would use VBA mostly through someone else’s macros at first: the bank’s own, or an add-in’s. Writing your own comes later, if at all, once you know which steps you repeat every day.

For recruiting, VBA rarely matters. Breaking Into Wall Street says you do not need it for interviews, and none of the 188 analyst and summer analyst postings Capstack read from 36 banks in 2026 names it. A [Wall Street Oasis thread reviewing a summer analyst resume](https://www.wallstreetoasis.com/forum/resume/ib-summer-analyst-intern-resume) suggests claiming Excel proficiency only if you can write macros in VBA, so add VBA to your resume only if you can back it up.

If you want to learn the basics, it costs nothing beyond Excel itself. Turn on the Developer tab, record a macro, then open the code in the Visual Basic Editor and change it. Microsoft’s own getting-started guide walks through those steps. If you are also aiming at a trading desk, my course’s trading guidance counts coding in Python, VBA or SQL as a strong plus.

## What it looks like

![The Developer tab in Office, with the buttons that open the Visual Basic Editor and record macros](https://capstackcareers.com/tools/vba-2.png)

Image: [Microsoft](https://learn.microsoft.com/en-us/office/vba/library-reference/concepts/getting-started-with-vba-in-office)

## On the job

1. Run the bank’s and the add-ins’ formatting macros, and check that your own keyboard shortcuts do not clash with them. · [Wall Street Oasis](https://www.wallstreetoasis.com/forum/investment-banking/summer-2017-investment-banking-interns-dos-and-donts-list)
2. Record a macro for a repeated formatting step, such as styling an input cell, and edit the code in the Visual Basic Editor. · [Breaking Into Wall Street](https://breakingintowallstreet.com/kb/excel/excel-vba-programming/)

## Learn it

- [Microsoft Learn’s free guide shows how to turn on the Developer tab, record a macro and edit its code in the Visual Basic Editor.](https://learn.microsoft.com/en-us/office/vba/library-reference/concepts/getting-started-with-vba-in-office) · Microsoft Learn
- [Breaking Into Wall Street’s free tutorial records an input-cell formatting macro, a typical first banking example.](https://breakingintowallstreet.com/kb/excel/excel-vba-programming/) · Breaking Into Wall Street

## Who uses it

- Analysts use VBA macros to save time on repeated formatting, and Breaking Into Wall Street says it helps on the job but is not needed for interviews. · [Breaking Into Wall Street](https://breakingintowallstreet.com/kb/excel/excel-vba-programming/)
- Working analysts on Wall Street Oasis suggest recording a macro for any Excel or PowerPoint step that takes four or more keystrokes. · [Wall Street Oasis](https://www.wallstreetoasis.com/forum/investment-banking/what-i-wish-every-first-year-analyst-knew)
- None of the 188 analyst and summer analyst postings Capstack read from 36 banks in 2026 names VBA. · Capstack records

## Access

Free

| Route | What it means | Cost |
| --- | --- | ---: |
| Free to anyone | VBA comes with desktop Office at no extra cost, and you reach it by turning on the Developer tab, though Excel for the web cannot run macros. · [Microsoft Support](https://support.microsoft.com/en-us/office/work-with-vba-macros-in-excel-for-the-web-98784ad0-898c-43aa-a1da-4f0fb5014343) | Free |
| Through your employer | On a bank’s machines, IT policy decides which macros run, since Office blocks macros in files from the internet by default. · [Microsoft Learn](https://learn.microsoft.com/en-us/microsoft-365-apps/security/internet-macros-blocked) | No published price |

## In interviews

**Rarely comes up**: Breaking Into Wall Street says you do not need to know VBA or macros for investment banking interviews. · [Breaking Into Wall Street](https://breakingintowallstreet.com/kb/excel/excel-vba-programming/)

## Alternatives

- [Python](https://capstackcareers.com/library/tools/python): Python is a separate language for data work, which Breaking Into Wall Street says suits trading and quant roles more than banking. · [Breaking Into Wall Street](https://breakingintowallstreet.com/kb/excel/excel-vba-programming/)
- [Macabacus](https://capstackcareers.com/library/tools/macabacus): Macabacus ships ready-made formatting shortcuts and model audits, so it covers much of what an analyst might otherwise write a macro for. · [Macabacus](https://www.macabacus.com/pricing)
- [Microsoft Excel](https://capstackcareers.com/library/tools/excel): Excel’s newer LAMBDA functions create custom functions without code, but Breaking Into Wall Street says VBA still suits formatting and error checks. · [Breaking Into Wall Street](https://breakingintowallstreet.com/kb/excel/excel-lambda-functions/)

## From the course

> In adjusting your TMAY for trading, familiarity with coding, such as Python, VBA or SQL, is also a strong plus.
>
> Matthew, in the Capstack course, Behaviorals

## What’s changing

- 2024: Python in Excel became generally available, a feature one trader told eFinancialCareers in 2023 would eventually replace VBA. · [eFinancialCareers](https://www.efinancialcareers.com/news/2023/08/python-in-excel)
- 2022: Office on Windows began blocking macros in files from the internet by default, rolling out from April 2022. · [Microsoft Learn](https://learn.microsoft.com/en-us/microsoft-365-apps/security/internet-macros-blocked)

## FAQs

### Can I get VBA as a student?

VBA comes with desktop Excel, Word and PowerPoint at no extra cost. Turn on the Developer tab in Office’s options to reach the Visual Basic Editor and the macro recorder. Excel for the web cannot create, run or edit VBA macros, Microsoft says, so you need the desktop app.

### Do investment bankers use VBA?

Investment bankers mostly use VBA through macros the bank or an add-in provides, for formatting and other repeated steps. Breaking Into Wall Street says VBA saves time on the job, and analysts on Wall Street Oasis suggest recording a macro for any step that takes four or more keystrokes. Few analysts write much code of their own.

### Will VBA come up in an investment banking interview?

VBA rarely comes up in an interview. Breaking Into Wall Street says VBA is not needed for interviews, and none of the 188 analyst and summer analyst postings Capstack read in 2026 names it. If VBA is on your resume, be ready to describe a macro you wrote.

### Is there a VBA certificate I can put on my CV?

Microsoft has no VBA-only certificate, but its Microsoft Office Specialist Excel Expert exam, MO-211, assesses advanced formulas and macros. Mergers & Inquisitions argues that certifications make only a marginal difference in banking recruiting.

### Do bankers use VBA or Python?

Of the two, investment bankers are more likely to meet VBA, mostly as macros the bank or an add-in provides. Breaking Into Wall Street says Python and R are more useful in trading and quant roles.

### How much VBA should I learn?

Breaking Into Wall Street suggests spending about 10 to 20% of your Excel training time on VBA basics, starting with recording a macro and then editing its code.

## About the author

[Matthew Farquhar](https://capstackcareers.com/about/matthew-farquhar). Matthew Farquhar is the founder of Capstack and a former investment banker at Moelis & Co in Los Angeles.

## Sources (13)

Every line on this page links to its source.

### Breaking Into Wall Street

- [Excel VBA Programming: How to Record a Macro in Excel](https://breakingintowallstreet.com/kb/excel/excel-vba-programming/)
- [Excel Lambda Functions: How to Create Custom Functions Without VBA, Macros, or Other Code](https://breakingintowallstreet.com/kb/excel/excel-lambda-functions/), 20 Nov 2025

### Capstack records

- Capstack records

### eFinancialCareers

- [Python in Excel: Bankers aren’t bothered; try hedge funds](https://www.efinancialcareers.com/news/2023/08/python-in-excel), 25 Aug 2023

### Macabacus

- [Macabacus pricing](https://www.macabacus.com/pricing)

### Mergers & Inquisitions

- [The Investment Banking Certification: The Most Useless Idea in the World?](https://mergersandinquisitions.com/investment-banking-certification/), 1 Mar 2026

### Microsoft Learn

- [Getting started with VBA in Office](https://learn.microsoft.com/en-us/office/vba/library-reference/concepts/getting-started-with-vba-in-office)
- [Macros from the internet are blocked by default in Office](https://learn.microsoft.com/en-us/microsoft-365-apps/security/internet-macros-blocked)
- [Microsoft Office Specialist: Excel Expert (Microsoft 365 Apps)](https://learn.microsoft.com/en-us/credentials/certifications/mos-excel-expert-m365-apps/)

### Microsoft Support

- [Work with VBA macros in Excel for the web](https://support.microsoft.com/en-us/office/work-with-vba-macros-in-excel-for-the-web-98784ad0-898c-43aa-a1da-4f0fb5014343), 5 Nov 2026

### Microsoft Tech Community

- [Python in Excel – available now](https://techcommunity.microsoft.com/blog/excelblog/python-in-excel-%E2%80%93-available-now/4240212), 16 Sep 2024

### Wall Street Oasis

- [What I Wish Every First Year Analyst Knew](https://www.wallstreetoasis.com/forum/investment-banking/what-i-wish-every-first-year-analyst-knew)
- [Summer 2017 Investment Banking Interns - Do’s and Don’ts List](https://www.wallstreetoasis.com/forum/investment-banking/summer-2017-investment-banking-interns-dos-and-donts-list)
