Thanks for answering, but Mattias Sjögren [MVP] solved my problem. Here is
the answer:

<<Excel will close when all COM references have been released, which
probably is the next time the garbage collector has run.

You can force a garbage collection to happen after you're done using
Excel by calling