Dear @Nikhil Nishant,
Good day! Welcome to Q&A forum!
Thank you for your information.
Regarding your situation, ActiveX controls and Form Controls aren’t supported in the browser version of Excel. That’s why you're seeing the message that those controls should be opened with the desktop app.
About Question 1: Is there any supported workaround to make such templates work in Excel for the Web (SharePoint/OneDrive scenario)?
Unfortunately, there is no supported workaround exists to make ActiveX-enabled templates work in Excel for the Web. It is because ActiveX is a legacy, desktop-only technology that isn’t compatible with web browsers and poses security risks.
From this article: Upgrading an Existing ActiveX Control | Microsoft Learn
About Question 2: Can Form Controls or any other alternatives replace ActiveX controls for web compatibility?
Form Controls, while more stable and secure than ActiveX for desktop use, are also not supported in Excel for the Web. The same error message applies to both.
For web compatibility, Microsoft recommends modern alternatives like Office Scripts, Office.js add-ins, or Power Apps, depending on your needs (just as you have listed)
About Question 3: What are Microsoft’s recommended approaches (e.g., Office Scripts, Office.js add-ins, Power Apps, or other modernization paths) to migrate away from ActiveX so the template works in a web-based environment?
While Microsoft has not released a migration tool for ActiveX-to-modern conversion, but they do recommend the following:
- With Office scripts: You could automate simple tasks and workflows in Excel for the Web.
- With Office.js add-ins: It is best for creating rich, interactive experiences inside Excel.
- With Power Apps: It is for building standalone apps that connect to Excel data.
About Question 4: Are there any official migration tools or guidance from Microsoft for moving ActiveX-based Excel solutions to modern technologies?
Microsoft does not offer an automated migration tool for converting ActiveX-based Excel solutions to modern technologies.
You could find some more useful information via these articles:
ActiveX controls are disabled by default in Microsoft 365 and Office 2024 - Microsoft Support
Edit a workbook that contains features unsupported by Excel for the web - Microsoft Support
Overview of forms, Form controls, and ActiveX controls on a worksheet - Microsoft Support
Create a canvas app based on Excel data - Power Apps | Microsoft Learn
I hope the information that I gave you helps clarifying this matter.
Kindly let me know when there are updates or if you need further assistance. Any updates you’re able to share would be really helpful. I appreciate your time and look forward to hearing how things are going!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.