void Application_WorkbookAfterSave(Excel.Workbook Wb, bool Success) { if (Wb.FullName != CurrentFullName) { CurrentFullName = Wb.FullName; SaveAs.Invoke(null, null); } }