There are a couple ways; you can add it to the Macro section of the Advanced featues in SI and it will run after generation. Excel Macros can be assigned a keyboard shortcut, so that if a user changes period/year, then can invoke the macro: https://support.office.com/en-us/article/run-a-macro-5e855fd2-02d1-45f5-90a3-50e645fe3155