Suppressing dialog boxes

T

Thor W Hammer

I'm using VB to programmatically open MS Word to open and print a batch of
documents. This is an automatically task and should not require any manual
interacting. The problem is that some documents triggers Word to open dialog
boxes when it opens. This stops the automatic task from being executed and I
want to avoid it. Is it possible to prevent these popping up dialog boxes
from being shown?
 
H

Helmut Weber

Hi Thor,
that depends on the nature of the dialog boxes.
Some can be prevented by
' 0 = wdAlertsNone
Application.DisplayAlerts = 0
without problems, some not without problems and some
not at all ("disk full").
Greetings from Bavaria, Germany
Helmut Weber
"red.sys" & chr$(64) & "t-online.de"
Word 97, XP, NT4.0, W98
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top