private void Application_WindowActivate(Excel.Workbook Wb, Excel.Window Wn) { // called whenever a different workbook is selected // modelControl.UpdateWorkbookName(Wb.Name); // whever we switch worksheets, move the worksheet values into // the toggle }