Hello,
It is after the close code; Application.Quit is not causing it
Kind regards