public void GenerateExcelResults() { if (ExcelFileName == null) { MessageBox.Show("Please Load a file before attempting to generate the results", "Warning", MessageBoxButton.OK, MessageBoxImage.Warning); } else { CurrentStatus = "Generating Results"; MyExcelHelper.GenerateOutputSheets(ExcelFileName); CurrentStatus = "Result Generation Completed"; } }