Why don't you try to get the application instead....Set appXL = GetObject(, "Excel.Application")Then you can just close down the Application when you are finished.