none
Workbook Open Event - shared Adiin RRS feed

  • Question

  • HI

    I have a Excel Shared addin installed in my machine. I have some code in Workbook open event.

    Now when I try to open excel form console, The workbook open event is not raised every time.,

    I use the following code to open excel

    Excel.Application excelApplication ;

                     _excelApplication = new Excel.Application();

                     _excelApplication.Visible = true;

                  
                    Excel.Workbook workbookobj = _excelApplication.Workbooks.Open(destinationTemplatePath, MissVal, false, MissVal,
                                                                           MissVal, MissVal, MissVal, Excel.XlPlatform.xlWindows,
                                                                           MissVal, MissVal, MissVal, MissVal, MissVal, true, MissVal);

    Is dar any way to raise the open event forcely so that the code in shared addin shall executs


    Chetana

    • Moved by Mike Feng Monday, January 14, 2013 9:37 AM
    Friday, January 11, 2013 10:28 AM

Answers

All replies