💻 techProduct25 views3 min read

What Happened to Visual Basic for Applications (VBA)?

Visual Basic for Applications (VBA) is an event-driven programming language developed by Microsoft, deeply integrated into Microsoft Office applications for task automation. Launched with Excel 5.0 in 1993, it became a dominant force for custom business solutions. While Microsoft continues to support VBA for desktop solutions, it has effectively entered a maintenance mode, with no plans for language evolution, and the company is actively promoting cloud-first alternatives like Office Scripts and Power Automate, largely driven by persistent security concerns associated with malicious macros.

Share:
⚡

Quick Answer

Visual Basic for Applications (VBA) continues to be a widely used and supported programming language for automating tasks within Microsoft Office desktop applications as of 2026. While Microsoft has not announced plans to discontinue VBA, it is not actively evolving the language and encourages users to adopt modern, cloud-based alternatives like Office Scripts and Power Automate for cross-platform and web solutions. Security concerns surrounding malicious macros have led Microsoft to implement default blocking of internet-sourced macro-enabled files, impacting how VBA is used.

📊Key Facts

First Launched
1993 (with Microsoft Excel 5.0)
Wikipedia
Current VBA Version (Office 2024)
VBA 7.1
Wikipedia
Companies Using VBA (as of 2026)
3,861 verified companies
GTM Intelligence | Landbase
Peak Visual Basic Developers
Nearly 3.5 million worldwide
Retool

📅Complete Timeline14 events

1
1991Major

Visual Basic 1.0 for Windows Released

Microsoft releases Visual Basic 1.0, establishing the foundation for rapid application development (RAD) and event-driven programming that would influence VBA.

2
1993Critical

VBA First Launched with Excel 5.0

Visual Basic for Applications (VBA) is first introduced with Microsoft Excel 5.0, enabling users to automate tasks and create custom solutions within the application.

3
1997Major

VBA 5.0 Released with Office 97

VBA 5.0 is launched alongside Microsoft Office 97, expanding its integration and capabilities across the entire Office suite.

4
1998Major

Visual Basic 6.0 Released

Visual Basic 6.0 is released, marking the peak of Visual Basic's dominance, with two-thirds of all business application programming on Windows PCs done in VB.

5
1999Critical

Melissa Virus Highlights Macro Security Risks

The Melissa virus, a macro virus, spreads rapidly through email attachments, demonstrating the significant security vulnerabilities inherent in Office macros.

6
2010Notable

Office 2010 Includes VBA 7.0

Microsoft Office 2010 is released, featuring VBA 7.0, which includes important updates for 64-bit compatibility.

7
2013Notable

VBA 7.1 Introduced

VBA 7.1 is released with Office 2013 and continues to be the version included in subsequent Office releases, including Office 2024.

8
February 2022Critical

Microsoft Blocks Internet Macros by Default

Microsoft announces it will block VBA macros by default in Office files downloaded from the internet to enhance security against malware.

9
Late 2022Major

Default Macro Blocking Resumes Rollout

After a brief pause, the default blocking of internet-sourced VBA macros resumes rollout across Microsoft 365 for Windows, affecting various Office applications.

10
April 11, 2023Major

Microsoft Clarifies VBA vs. Office Scripts

Microsoft clarifies that VBA remains the primary desktop automation model, while Office Scripts are designed for secure, cross-platform, cloud-based solutions.

11
July 2025Major

Excel Disables External Workbook Links to Blocked Files

Microsoft announces that Excel will disable external workbook links to blocked file types by default, with a rollout running from October 2025 through July 2026.

12
September 9, 2025Major

VBScript Deprecation Impacts Some VBA Projects

Microsoft announces the phased deprecation of VBScript on Windows, which can affect VBA projects that call external .vbs files or depend on the VBScript.RegExp library.

13
March 23, 2026Major

VBA Continues to be Supported, Not Terminated

Microsoft's official information confirms no clear announcement of VBA termination, but emphasizes a shift in its usage context, particularly regarding Excel for the web and security.

14
July 21, 2026Major

VBA Remains Relevant for Desktop Automation

Despite the rise of AI, Power Query, Office Scripts, and Power Automate, VBA continues to dominate desktop Excel automation due to its deep integration and ability to support complex business processes.

Follow this story

Get an email when this timeline gets a major update.

🔍Deep Dive Analysis

Visual Basic for Applications (VBA) emerged as a powerful tool for customizing and automating Microsoft Office applications, first debuting with Microsoft Excel 5.0 in 1993. Building on the success of Visual Basic, VBA offered an accessible, event-driven programming model that allowed users to create complex macros, custom functions, and even full-fledged applications directly within Office programs like Excel, Word, and Access. Its deep integration with the Office object model made it an instant success, spurring the development of numerous custom business solutions and establishing its dominance in Windows business application programming by the late 1990s.

The widespread adoption of VBA, however, also brought significant security challenges. Macro viruses, such as the infamous Melissa virus in 1999, demonstrated how malicious code embedded in Office documents could spread rapidly and cause considerable damage. Over the years, VBA macros became a primary vector for malware delivery, including ransomware campaigns, leading to persistent vulnerabilities. This inherent risk, coupled with the rise of cloud computing and cross-platform needs, prompted Microsoft to explore and develop newer automation technologies.

Key turning points include Microsoft's shift in focus towards the .NET framework in the early 2000s, which introduced Visual Basic .NET (VB.NET) as a successor to the standalone Visual Basic language, though VBA remained distinct and embedded within Office. More recently, Microsoft introduced Office Scripts, designed for secure, cross-platform, cloud-based solutions, primarily for Excel on the web, and Power Automate for broader workflow automation. These alternatives represent Microsoft's strategic move towards modern, cloud-first development environments.

As a consequence of the security landscape, Microsoft has implemented significant changes to mitigate risks. In February 2022, Microsoft announced it would block VBA macros by default in Office files downloaded from the internet. After a brief rollback, this change resumed rollout across Microsoft 365 for Windows later that year, affecting applications like Excel, Word, and PowerPoint. Further tightening occurred in July 2025, with Microsoft announcing that Excel would disable external workbook links to blocked file types by default, a rollout continuing through July 2026. Additionally, the phased deprecation of VBScript on Windows, announced in September 2025 and expected to complete by 2027, can impact VBA projects that rely on external `.vbs` files or the VBScript.RegExp library.

As of September 13, 2026, VBA remains a critical and widely used tool, particularly for desktop automation in industries such as finance, logistics, HR, and manufacturing. Microsoft continues to support VBA and has not announced any plans for its discontinuation in the near future. However, the language itself is in maintenance mode, meaning Microsoft is not actively evolving it. While newer tools like Power Automate and Office Scripts are promoted for modern, cloud-centric workflows, VBA's deep integration, offline reliability, and cost-free advantage ensure its continued relevance for many existing and new desktop-based automation tasks. Professionals in 2026 are encouraged to balance VBA skills with emerging technologies to leverage both the 'old reliable' and the 'new exciting' tools.

What If...?

Explore alternate histories. What if Visual Basic for Applications (VBA) made different choices?

Explore Scenarios
Building relationship map...

❓People Also Ask

Is VBA still supported by Microsoft in 2026?
Yes, as of 2026, Microsoft continues to support Visual Basic for Applications (VBA) and has not announced any plans to discontinue it in the near future. It remains a critical tool for many users, particularly for desktop automation within Office applications.
What are the alternatives to VBA for automation?
Microsoft offers several modern alternatives to VBA, including Office Scripts for secure, cross-platform, cloud-based solutions primarily for Excel on the web, and Power Automate for broader workflow automation. Python is also gaining popularity for data analysis and automation in Excel.
Why are VBA macros considered a security risk?
VBA macros can be exploited by cybercriminals to embed and execute malicious code, leading to issues like ransomware, data exfiltration, and system manipulation. By default, VBA code executes with the full permissions of the logged-in user, making it a significant security vulnerability.
Can VBA be used with cloud-based Office applications?
VBA is primarily designed for desktop Office applications. Excel for the web, for instance, cannot create, run, or edit VBA macros. For cloud-based and cross-platform automation, Microsoft promotes Office Scripts as the modern alternative.
Is it still worth learning VBA in 2026?
Yes, learning VBA in 2026 is still considered valuable, especially for Excel power users and professionals in fields like finance and HR. It remains an indispensable tool for automating repetitive tasks, generating reports, and creating custom functions in desktop Office applications. Combining VBA skills with newer tools like Power Automate or Python can provide a significant advantage.
What Happened to Visual Basic for Applications (VBA)? The Complete Story | WhatHappen.ai