elw6mire
August 6th, 2001, 07:27 AM
I save different data in Excel-files from my VB-application.
I access Excel through the following object variable:
Dim xlApp as Excel.Application
Set xlApp = CreateObject("Excel.Application")
Is there a way to determine whether xlApp is instantiated or how many instances have been created?
Unfortunately IF xlApp = Nothing Then ... doesn't work.
I want to make sure, that I can close all the Excel-instances in case of an error.
Michael
I access Excel through the following object variable:
Dim xlApp as Excel.Application
Set xlApp = CreateObject("Excel.Application")
Is there a way to determine whether xlApp is instantiated or how many instances have been created?
Unfortunately IF xlApp = Nothing Then ... doesn't work.
I want to make sure, that I can close all the Excel-instances in case of an error.
Michael