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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word document that was opened does no remain visible

Status
Not open for further replies.

asbest

Civil/Environmental
Joined
Mar 23, 2005
Messages
2
Location
BE

In reply to what CajunCenturion send me has help with the word file I added the Documents.Close statement to my program. The automation problems is hereby resolved, but the Word.document is opened and immediately closed without seeing it on screen (it flashed by). Is there any program step I can add so that the file remains visible untill I close the document?
 
You might try placing all the code to open Word in one subroutine and all of the close code in another.

How will the program 'know' when it's time to close the Word document? Add into the program a call to the close routine when the time comes.



Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top