예제 #1
0
 private void MyAddIn_WorkbookActivate(Excel.Workbook Wb)
 {
     Debug.WriteLine("MyAddIn_WorkbookActivate runs");
     if (FlausModelByWorkbook.ContainsKey(Wb))
     {
         ActiveWorkbookFlausModel = FlausModelByWorkbook[Wb];
         Debug.WriteLine(Wb.Flaus().ModelIntegrity);
     }
     else
     {
         ActiveWorkbookFlausModel = null;
         Debug.WriteLine("Flaus Modell is null");
     }
 }