Thanks All,

I agree END should not be used, and the proper method is to unload everything, but in this case, Sub Main is not in a form, its in a module and when the END needs to be executed, there are no forms loaded. How do I unload a subroutine in a module?
kevin