+ Reply to Thread
Results 1 to 3 of 3

Release Variable from Memory Problem

  1. #1
    Registered User
    Join Date
    08-31-2004
    Posts
    17

    Release Variable from Memory Problem

    Hi All,

    I have codes in an Access project to open an Excel file and get data from it. Following is the excerpt of my codes.
    Please Login or Register  to view this content.
    Even though I have Set xlApp = Nothing at end of sub to release variable from memory, I still found many instances of EXCEL.EXE from Windows Task Manager and they are all left-over from my sub. What's the right way to close EXCEL after a procedure?

    And during the whole process, the Excel workbook is invisible to me. How can I show the workbook to the user?

    Thanks & Merry X'mas

    Huyeote

  2. #2
    Forum Contributor
    Join Date
    06-02-2005
    Location
    India
    MS-Off Ver
    2007
    Posts
    138
    You need to quit Excel application before clearing its memory...

    Please Login or Register  to view this content.

    HTH
    ilyaskazi

  3. #3
    Registered User
    Join Date
    08-31-2004
    Posts
    17

    Great

    It works. Thanks.

    Any idea why the application is invisible to user?

    Huyeote

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1