Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing To A Word Document 1

Status
Not open for further replies.

ndalli

Programmer
Nov 6, 1999
76
MT
I am sending information to a word document. After running the application a number of times I'm getting the "Out of memory" message.

When I check the Task Manager (ctrl+alt+delete) I am seeing a number of winword applications still running, even though I am closing them. In the code I am using the 'Documents.Close' statement in order to close the documents which I would have opened in the VB application.

Does anyone know why these word applications are still being left open and how can I close them?

Thanks in advance

 
You are closing the document(s) but not the application. Suppose you have created an object AppWord. Shut down WinWord like:

AppWord.Quit
set AppWord = nothing

Success

Herman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top