+ Reply to Thread
Results 1 to 2 of 2

how do i release memory

  1. #1
    kurb
    Guest

    how do i release memory

    Hello,

    i have an error message: cannot empty clipboard. The Office Clipboard
    shows that the clipboard is empty. This situation persists even after
    shutting Excel

    i ran out of memory after running program that does many ( approx 100)
    open workbook/(copy/paste)/close workbook operations. The memory usage
    builds up all the time, although only one workbook is open at a time. is
    there something i should be doing to release memory when the workbook is
    closed?

    thanks for any suggestions
    k

  2. #2
    galimi
    Guest

    RE: how do i release memory

    Try setting all the references that open the workbook object to nothing at
    the end of the subroutine, i.e.,

    set oWB = workbooks.add
    ....
    code...
    ....
    set oWB = nothing

    http://HelpExcel.com



    "kurb" wrote:

    > Hello,
    >
    > i have an error message: cannot empty clipboard. The Office Clipboard
    > shows that the clipboard is empty. This situation persists even after
    > shutting Excel
    >
    > i ran out of memory after running program that does many ( approx 100)
    > open workbook/(copy/paste)/close workbook operations. The memory usage
    > builds up all the time, although only one workbook is open at a time. is
    > there something i should be doing to release memory when the workbook is
    > closed?
    >
    > thanks for any suggestions
    > k
    >


+ 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