|
-
Sep 17th, 2002, 09:42 AM
#3
Black Cat
Originally posted by Blobby
SHouldnt it be
Public xlapp as NEW excel.application
anyway?
No, phinds's code is fine is this regard - the above will give you less control as to when Excel starts as you starting it instantly with the "New".
Anyway, for Excel, you need to call the "close" or "quit" or equivalent function for every object you use, as setting them to Nothing merely detaches the object reference from VB. You need to just look at all the objects you are using and make sure they all get closed.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
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
|