Is it Possible to Interface with Excel via COM in a Container? RRS feed

  • Question

  • A potential client has a web application that runs in Windows Server that we’re looking to containerize. We ran into a problem when we discovered that part of the application does its reporting by using Excel’s COM interface to create some sophisticated spreadsheets; graphs and charts, etc.

    I’m pretty sure that this is going to be impossible within a container, since the COM interface starts a real instance of Excel, and Excel isn’t going to like the absence of graphics capabilities for its GUI.

    I’m wondering if I’m correct. Has anyone tried this? Is there any way to run an MS Office application in headless mode?

    I know that the app could be rewritten to do this via OOXML, but I’d like to see if we can avoid that effort.



    Thursday, October 19, 2017 8:45 PM

All replies

  • I am interested in this as well. I know it's technically unsupported, but we still have some reports that we do in Powershell with Excel COM Automation.
    Thursday, November 2, 2017 1:10 PM