While working with Excel workbook VSTO appliation using VS2019 and MS Office 2016.
How can we fetch highlighted cells in the worksheet which have been recently updated in the sheet?
//Accept all tracked changes
Workbook workbook = new Workbook();
workbook.LoadFromFile(inputFile);
workbook.AcceptAllTrackedChanges();
workbook.SaveToFile(outputFile, FileFormat.Version2013);
//Reject all tracked changes
Workbook workbook = new Workbook();
workbook.LoadFromFile(inputFile);
workbook.RejectAllTrackedChanges();
workbook.SaveToFile(outputFile, FileFormat.Version2013);