working with Excel within VB-6


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: working with Excel within VB-6

  1. #1
    Join Date
    Nov 2004
    Posts
    293

    working with Excel within VB-6

    In my VB6 program I am opening an excel workbook and reading some data then closing my workbook. This is working fine but I want to make sure the workbook is closed and the application is quit. How can I do that? My closing code looks like this:

    appEx.Workbooks.Close
    appEx.Quit


    now I want to see that it is closed and quit.

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,663
    Add
    Code:
    Set appEx = Nothing

Similar Threads

  1. EXCEL crash with VB DLL running on XP PRO SP2
    By flv58 in forum VB Classic
    Replies: 0
    Last Post: 02-09-2007, 07:24 AM
  2. Replies: 1
    Last Post: 01-02-2007, 09:58 AM
  3. Excel and VB
    By svn in forum VB Classic
    Replies: 6
    Last Post: 05-17-2005, 10:55 AM
  4. VB Automation error with excel file
    By Parita Pai in forum VB Classic
    Replies: 1
    Last Post: 07-19-2002, 09:31 AM
  5. Replies: 1
    Last Post: 07-25-2001, 07:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center