Ich habe hier erfahren, das ich mit
Dim xlapp As Application
Sub Oeffnen()
Set xlapp = CreateObject ("Excel.Application")
xlapp.visible = true
xlapp.Workbooks.open ("C:\Test.xls")
End Sub
eine zweite Excel-Instanz (und darin eine bestimmte Tabelle)öffnen kann, nun versuche ich,diese Instanz mit
Dim xlapp As Application
Sub Ende()
Set xlapp = Nothing
End Sub
diese Excel-Instanz wieder zu schließen, aber das klappt nicht, kann mir jemand helfen??
Danke im Voraus.
Werner