The string relation or constraint attribute @RUNEXCELMACRO2 is used in the EXCEL#() function to execute a macro in the Excel sheet template immediately before saving the Excel sheet.
Place @RUNEXCELMACRO2:MacroName in the data slot of the relation or constraint
...