logo
search
VBA & Macro Problems

How to Fix VBA Macros Not Working in Excel for the Web

Nimra MalikNimra Malik Oct 16, 2026 869 views

Question details

The user is attempting to run VBA code, such as scripts for multiple selections in drop-down lists, but finds that the Developer tab is missing and macros do not work in the browser-based version of Excel.

How to Fix VBA Macros and Developer Features Not Working in Excel for the Web
Product
Excel for the Web
Device & OS
not provided
Scenario
Working with a macro-enabled workbook in a web browser and trying to execute VBA scripts for advanced drop-down list functionalities.
Observed behavior
The Developer tab is entirely unavailable in the ribbon, and VBA macros fail to execute because Excel for the Web lacks macro support.
Before you start

Confirm whether your workbook absolutely requires VBA macros to function properly. If it does, ensure you have a desktop spreadsheet application installed, as browser-based spreadsheet tools inherently do not support VBA execution.

Solution 1Recommended

Open the Workbook in the Excel Desktop Application

Since VBA macros are not supported in the web version, opening the file in the desktop app allows full access to the Developer tab and macro execution.

Excel for the Web is designed for lightweight editing and collaboration, which means it cannot run complex VBA scripts or display the Developer tab. To use your macros, you must transition the session to your local desktop software.

1
Locate the viewing mode options

While viewing your workbook in Excel for the Web, look at the top ribbon menu for the 'Viewing' or 'Editing' button.

2
Open in desktop app

Click the menu and select 'Open in Desktop App' from the drop-down list. This will prompt your browser to launch the local Excel program.

3
Enable macros

Once the file opens in the desktop application, a yellow security warning may appear at the top. Click 'Enable Content' to allow your VBA macros and multiple-selection drop-down lists to function.

Open the Workbook in the Excel Desktop Application
Requires Local Software: This solution requires you to have the Microsoft Excel desktop application installed on your computer.
Free Microsoft Office alternative

Use WPS Office Desktop for Full VBA and Macro Support

Avoid browser limitations by switching to WPS Office. The WPS Office desktop application provides native support for VBA macros, advanced Developer features, and is highly compatible with macro-enabled Microsoft Excel formats.

  1. 1. Download and Install: Download WPS Office Free from the official website and install it on your computer.
  2. 2. Open Your Workbook: Launch WPS Spreadsheet and open your macro-enabled (.xlsm) file.
  3. 3. Enable Developer Features: Navigate to the Developer tab, enable macros, and seamlessly run your VBA code.
Free and lightweight desktop applicationNative support for VBA macros and Developer toolsFully compatible with Microsoft Excel .xlsx and .xlsm formatsFamiliar user interface with minimal learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Will Excel for the Web ever support VBA macros?

Currently, there are no plans to bring VBA support to Excel for the Web. Microsoft focuses on Office Scripts for web-based automation, while VBA remains exclusive to the desktop environment.

How do I enable the Developer tab in Excel for the Web?

The Developer tab is completely unavailable in Excel for the Web by design. To access Developer tools, you must open your workbook in a compatible desktop spreadsheet application like Excel or WPS Office.

Can I use Office Scripts instead of VBA for multiple selection drop-down lists?

While Office Scripts can automate tasks in Excel for the Web, they do not support event handling (running automatically when a cell is clicked or changed) in the same way VBA does. Therefore, replicating multiple-selection drop-downs natively in the browser is highly restrictive.