A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
No. Running Excel macros without Excel installed is not supported by the provided Microsoft technologies in this scenario.
For an IIS/web server solution, Microsoft does not recommend or support server-side automation of Office applications. Office is designed for interactive desktop use, not unattended server-side code such as web services. Common failures in this model include:
-
0x80070005access denied -
0x80080005server execution failed -
429ActiveX component cannot create object - hangs, dialog boxes, crashes, and orphaned Excel processes
This is especially risky when uploaded workbooks contain macros. Office server-side use does not adequately address server-side security concerns, and macros can run with high privileges depending on the server context.
Open XML and similar file-based approaches can help read or modify workbook data, but they are not a supported way to execute VBA macros.
The supported direction is to redesign the solution so the processing logic does not depend on running Excel/VBA on the web server. Microsoft recommends finding alternatives to Office automation for server-side solutions.
References: