You cannot quit Visio because a program is handling an event from Visio. If VBA is at a breakpoint, reset VBA, then quit ...