A
A Karnik
HI,
I am running a macro to read an extract data file and
creates several new formatted word documents as reports.
These report documents may contain hundreds of pages.
Now when i run the macro, every thing works fine and the
macro starts creating report word documents are one by
one. The problem starts when WINWORD.EXE starts occupying
more space.
Before create a new word document I set Word.Document
object to nothing and then create another document. Event
after this Memory is not released by WINWORD.EXE.
As soon as i create the next document and start writing
into it, the memory usage increases.
So can someone tell me how to release the memory usage.
Is the memory usage increasing because of using -
#1> Copy & Paste
#2> Using of a GIF as a picture object in the header of
the template?
I get an error -
Runtime-error '5113'
No memory or disk is full. Cannot to paint the display.
If i click on Debug. It gives me another error -
Too many edits to document. Save your work.
Please advice.
I am running a macro to read an extract data file and
creates several new formatted word documents as reports.
These report documents may contain hundreds of pages.
Now when i run the macro, every thing works fine and the
macro starts creating report word documents are one by
one. The problem starts when WINWORD.EXE starts occupying
more space.
Before create a new word document I set Word.Document
object to nothing and then create another document. Event
after this Memory is not released by WINWORD.EXE.
As soon as i create the next document and start writing
into it, the memory usage increases.
So can someone tell me how to release the memory usage.
Is the memory usage increasing because of using -
#1> Copy & Paste
#2> Using of a GIF as a picture object in the header of
the template?
I get an error -
Runtime-error '5113'
No memory or disk is full. Cannot to paint the display.
If i click on Debug. It gives me another error -
Too many edits to document. Save your work.
Please advice.