Should an automated version of Excel close?
On 7 oct, 16:35, Norman Bullen wrote:
After adding code to get an IDispatch interface to the Workbooks object
and calling its Add method, the instance of Excel has a workbook
containing three worksheets, just as if it had been started by clicking
the Excel button.
Now, however if the program proceeds to call Release() on each of the
interfaces, Excel does not close. I have to manually close it by
clicking its close button.
Have you called Close() then Quit() ?
|