I am developing software Excelas an application for Office using office.js.
In some part, I connect to a table in excel to check if its data has changed using the following code:
myBinding.addHandlerAsync(Office.EventType.BindingDataChanged, onBindingDataChanged);
function onBindingDataChanged(eventArgs) {
}
Unfortunately, there is eventArgsnot enough information to detect changes. It is worth mentioning that for Office.EventType.Binding Selection Changed, there is a lot of useful information, for example startRow, startColumn, ....
So my question is: How can I access this information:
- Modified row
- Modified Column
- Old data
- New data