|
-
Jun 12th, 2000, 10:09 PM
#1
Thread Starter
Fanatic Member
Not having much luck with this one so far...
in a module:
Code:
Public xlOut As Excel.Application
In a sub:
Code:
Set xlOut = CreateObject("Excel.Application")
With xlOut
.Application.DisplayAlerts = False
etc. etc...
.ActiveWorkbook.Close SaveChanges:=False
End With
xlOut.Quit
Set xlOut = Nothing
but the damn thing won't close till I quit my app.
HHHHHHHHHHHHHHEEEEEEEEEEEEEEEEEEELLLLLLLLLLLLLLLPPPPPPPPPPPP!
-
Jun 12th, 2000, 11:06 PM
#2
Hyperactive Member
I, too, have this problem...There MUST be a solution...
-
Jun 12th, 2000, 11:15 PM
#3
Thread Starter
Fanatic Member
Hi rockies - well I sorted my problem. Have a look at the post "Waste this dashed object". If it doesn't solve your problem then post your code (or email it to me at [email protected]) and I'll see if I can see anything wrong with it...
-
Jun 12th, 2000, 11:16 PM
#4
Addicted Member
You might have more than the active workbook open. Add this line:
xlOut.Workbooks.Close
If you add it, it will look exactly like one that I have that works properly.
-
Jun 12th, 2000, 11:21 PM
#5
Hyperactive Member
I'll give that one a try!
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|