Excel-DNA/IntelliSense

Embedded Excel table in Word error

sylvainpiron opened this issue · 1 comments

Hi,
When I use an intellisense add-in, if I insert an embedded table from an Excel file in Word, then I tried to modify it by double clicking on it, I got this error:
image
It does say in English:
"The program used to create this object is Excel. That program is either not installed on your computer or it is not responding."

You can reproduce it with this code:

    public class Class1 : IExcelAddIn
    {
        public void AutoClose()
        {
            IntelliSenseServer.Uninstall();
        }

        public void AutoOpen()
        {
            IntelliSenseServer.Install();
        }
    }

thanks a lot for any advise,
Best regards
Sylvain

Hi @sylvainpiron - thank you for reporting this.

I can reproduce the problem you describe.
But I don't have a good idea of what the problem might be. Perhaps we are expecting a top level window or a window hierarchy that does not exists in the context.