Oh FYI. Though there isn't event handler at workbook level... Office Scripts will be available for desktop. MS just made announcement end of last month.
Basically, Office Scripts is subset of TypeScript. So you may find it easier to convert java script to that. Rather than VBA.