79710121

Date: 2025-07-22 08:09:59
Score: 0.5
Natty:
Report link

I'm grateful to @SiddharthRout for providing the solution:

As he says, saving the Workbook_BeforeClose procedure in a workbook causes the newly added procedure to be executed when the workbook is closed, ending the current workflow if it has an END statement.

This is what @SiddharthRout comments Problems closing a workbook after using .VBComponents

Reasons:
  • Whitelisted phrase (-2): solution:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @SiddharthRout
  • User mentioned (0): @SiddharthRout
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Carlos Torres