logo
search
Office Compatibility Issues

How to Use Excel ActiveX and Form Controls with OneDrive

Rana GarciaRana Garcia Oct 12, 2026 874 views

Question details

The user wants to know how to successfully use and interact with macros, ActiveX controls, and form controls in Excel files that are stored on and shared via OneDrive.

How to Use Excel ActiveX and Form Controls with OneDrive
Product
Microsoft Excel, OneDrive
Device & OS
not provided
Scenario
Accessing and editing advanced Excel workbooks containing interactive controls and VBA macros stored in a cloud environment.
Observed behavior
ActiveX controls, macros, and form controls do not function or appear missing when the shared OneDrive file is opened in Excel for the web.
Before you start

Ensure you have the Microsoft Excel desktop application installed on your computer, as these advanced features cannot be executed within a web browser environment.

Solution 1Recommended

Open the OneDrive File in the Excel Desktop Application

To fully utilize ActiveX controls, form controls, and macros, you must open the shared OneDrive file using the full desktop version of Excel instead of Excel for the web.

Excel for the web is optimized for lightweight editing and real-time collaboration. Complex programming features, including ActiveX controls, form controls, and VBA macros, are intentionally unsupported in the web environment for security and performance reasons.

While you can safely store and share these macro-enabled files (.xlsm) through OneDrive, any user who needs to interact with the controls must transition from the browser view to the local desktop application.

1
Access the file online

Navigate to your OneDrive account in your web browser and click on the Excel file containing the ActiveX or form controls. The file will initially open in Excel for the web.

2
Switch to the desktop app

Locate the ribbon at the top of the screen in Excel for the web. Click on the 'Viewing' or 'Editing' dropdown button, then select 'Open in Desktop App'.

3
Launch directly from desktop Excel

Alternatively, open your local Excel desktop application, go to 'File' > 'Open', select your connected OneDrive account, and browse for the file to open it directly without using the web browser.

Open the OneDrive File in the Excel Desktop Application
Enable Content Security Prompt: When the file opens in the desktop application, you may see a yellow security warning bar at the top. Click 'Enable Content' to allow the macros and ActiveX controls to run securely.
Free Microsoft Office alternative

Edit Complex Spreadsheets Seamlessly with WPS Office

Since Excel for the web cannot run ActiveX controls or macros, switching to a powerful desktop alternative can streamline your workflow. WPS Office offers excellent compatibility with Microsoft Office formats and provides robust support for advanced spreadsheet features without the hefty subscription fees.

  1. 1. Download and Install: Download WPS Office for free from the official website and complete the quick installation process on your device.
  2. 2. Sync or Download Your File: Download your macro-enabled spreadsheet from OneDrive to your local computer, or access your local OneDrive sync folder.
  3. 3. Open in WPS Spreadsheets: Launch WPS Spreadsheets, click 'Open', and select your file to interact with its advanced features in a fully supported desktop environment.
Highly compatible with Microsoft Excel formats (.xlsx, .xlsm, .xls).Robust desktop application supporting advanced formulas and form controls.Free, lightweight, and easy to use with a familiar user interface.Seamless migration for your existing macro-enabled files.
microsoft office alternative - wps office

Frequently Asked Questions

Why do ActiveX controls disappear when I open my Excel file on OneDrive?

ActiveX controls do not actually disappear or get deleted; they are simply hidden or disabled because Excel for the web does not support rendering them. Opening the exact same file in the Excel desktop application will restore full visibility and functionality.

Can I edit VBA macros in Excel for the web?

No, Excel for the web does not support creating, editing, or running VBA macros. You must use the desktop version of Excel to work with macro-enabled workbooks (.xlsm).

Will form controls work if I share my OneDrive link with someone else?

If the recipient opens the shared link in their web browser, the form controls will not be active. They must also choose the 'Open in Desktop App' option to use those specific controls locally.

Are there any interactive controls supported in Excel for the web?

Excel for the web supports basic data validation dropdown lists and some fundamental interactive elements. However, advanced developer form controls (like spin buttons, scroll bars, and checkboxes) and ActiveX controls strictly require the desktop application.