Is there a way to trigger an event when exporting data?

Hi

I need to update a table when the user runs an Excel export from within a grid app’s Export button. Does anyone know how I might be able to do that?

TIA

Adz