Dynamic excel logging with smart function

Hello dear developers! Know this questions its far out of uipath. But thought i might aswell give it a shot and ask.

Wonder if its possible to log everything you do into a excel sheet, then in the excel sheet you make some smart logic, like implement a button on each row that can send the entire row with data to a specific email. Is it possible ?