Should an automated version of Excel close?
Peter T wrote:
Ensure any open workbooks are either saved (or the .Saved property is marked
saved) or use .Close(false).
Release any objects in the order created, eg worksheet, workbook etc.
Explicitly close the Excel instance with .Quit
Then release your reference to Excel.
Yes, what you describe is normal. Without an open workbook the instance will
close when all ref's to it are released, but with an workbook it'll stay
open unless you use "oXL.Quit".
Regards,
Peter T
That's what I was hoping to hear.
--
Norm
To reply, change domain to an adult feline.
|