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.
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
📅Complete Timeline14 events
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.
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.
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.
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.
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.
Office 2010 Includes VBA 7.0
Microsoft Office 2010 is released, featuring VBA 7.0, which includes important updates for 64-bit compatibility.
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.
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.
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.
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.
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.
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.
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.
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?