Why Excel ActiveX Controls Change to Form Controls in Shared Workbooks
Question details
Understand the reasons behind ActiveX controls converting to Form controls and how to prevent the loss of assigned code and control names.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Opening or sharing an Excel workbook containing ActiveX controls through OneDrive or Excel for the Web.
- Observed behavior
- ActiveX buttons are unexpectedly replaced by standard Form Control buttons, causing the assigned VBA macros and specific control names to be permanently lost.
Before attempting any fixes, create a local backup copy of your original workbook to ensure no further VBA code or control properties are permanently lost during testing.
Open and Edit Workbooks Exclusively in Excel Desktop
Since Excel for the Web does not support ActiveX controls, users must open the file strictly in the desktop application to prevent unwanted conversions.
ActiveX controls rely on specific Windows desktop components that are entirely unsupported in web browsers. When Excel for the Web attempts to render these files, it may strip or convert unsupported elements.
Navigate to your shared Excel workbook within your OneDrive or SharePoint document library.
Instead of clicking directly on the file name (which usually opens it in the browser), right-click the file to open the context menu.
Choose 'Open in App' or 'Open in Desktop App' from the dropdown list to ensure the file launches in the full desktop version of Excel.
Advise all users who have access to the shared workbook to strictly use the desktop app for editing, preventing accidental web conversions.

Report the Unexpected Conversion to Microsoft
While ActiveX is unsupported online, a destructive permanent conversion without warning is an issue that should be reported to Microsoft.
Manually Replace ActiveX Controls with Form Controls
To guarantee compatibility across both desktop and web versions of Excel, consider rebuilding your interface using standard Form Controls.
Use WPS Office Desktop for Stable Spreadsheet Performance
If you frequently encounter compatibility issues with Microsoft Excel for the Web altering your ActiveX controls, consider switching to WPS Office. It provides a highly compatible desktop environment that handles complex spreadsheets and VBA macros locally, avoiding unwanted web-based conversions entirely.
- 1. Download WPS Office: Visit the official WPS website to download and install the free desktop suite.
- 2. Open your macro-enabled file: Launch WPS Spreadsheet and open your existing .xlsm file containing the complex controls.
- 3. Enable macros natively: Click 'Enable Macros' in the security warning bar to ensure your interactive buttons and code function properly in the desktop environment.

Frequently Asked Questions
Are ActiveX controls supported in Excel for the Web?
No, Excel for the Web does not support ActiveX controls. Opening a workbook containing them online can result in the controls failing to function, or being automatically converted into unsupported Form controls, which breaks any linked macros.
Why did Office 2024 disable ActiveX controls by default?
Microsoft disabled ActiveX controls by default in Office 2024 due to significant security vulnerabilities historically associated with them. Users are encouraged to transition to newer, more secure web add-ins or standard Form controls.
How can I force an Excel file to open only in the desktop app?
You can force a workbook to open in the desktop app by instructing your team to right-click the file in SharePoint/OneDrive and select 'Open in Desktop App'. Alternatively, adding an unsupported web feature, such as an XML map, can prevent the file from rendering in the browser.
What is the main difference between Form Controls and ActiveX Controls in Excel?
Form Controls are built directly into Excel, simpler to use, and highly compatible across different operating systems (including Mac). ActiveX Controls offer more extensive customization and complex event-handling through VBA but are restricted to Windows desktop environments and pose potential security risks.




