The Raiser's Edge cannot be shut down through VBA without receiving an error.  If The Raiser's Edge is terminated through a macro that macro will not have a chance to close down any objects that are still left open.  This results in a run-time error.