Thread Tools Display Modes
  #1   Report Post  
Posts: n/a
Default Word's User Process shutdown Automation process

I have a batch program that prints a folder full of Word Files with
automation. I want to be able to run my program but I also want to continue
using Word while it is printing. However, when the Word document opens with
Automation and than I open another word document, not with automation
(meaning clicking on a word file icon), both files close after the printing
is complete. - Probably when it reaches:
wdoc = Nothing

In my program I open Word:
Set m_wApp = GetObject("", "Word.Application") ' New Instance of Word

After I finish printing the file:
m_wDoc.Close SaveChanges:=False

In my batch printing program I have a separate instance of Word (as I watch
it being created in the process list even if a Word instance is present)
which I thought would solve this problem. But it doesn't. How do I solve this
issue to make the User's word instance to be a seperate instance. Or at least
not allow the user to shutdown the Word process?
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I build a word list with number of occurrences of each wor. Bill Crowl Microsoft Word Help 2 March 20th 05 12:17 AM
redundant words ambrozia Microsoft Word Help 1 March 10th 05 09:45 PM
How many times are words used in a document. Marker Microsoft Word Help 4 March 9th 05 05:55 AM
Word frequencies Anthea Microsoft Word Help 6 January 10th 05 05:46 AM
Word Count mel Microsoft Word Help 2 December 14th 04 11:17 PM

All times are GMT +1. The time now is 09:19 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.

About Us

"It's about Microsoft Word"