Suppressing a Word message box.


W

Wolfe

Hello,

I have run into a few problems with some code I am trying to write in MS
Access. The main problem I have encountered is Word information messages
boxes. I am building a module within an Access database that will open all
Word documents in a given path, gather information from these documents,
and store this information in a table. The problem is, some of these
documents display message boxes when first open. This process is suppose to
be a un-manned process, therefore I need to suppress the message boxes. I
have tried to use the "DisplayAlerts" command for the open
"Word.Application" object, but I still receive a few message boxes. Any
thoughts?

Thanks
 
Ad

Advertisements

M

[MVP] S.Clark

The folks in the Word newsgroups will probably be better versed to the
nature of the boxes. In Access there is the setwarnings property that you
can set to false. Maybe Word has something similar.
 
Ad

Advertisements

W

Wolfe

The folks in the Word newsgroups will probably be better versed to the
nature of the boxes. In Access there is the setwarnings property that
you can set to false. Maybe Word has something similar.
See, this is all being coded in Access. The point of the database is to
track office documents. It opens all types of office documents and writes
information from them to a group of tables that can be used for reporting.
I have a few little "Bugs" that I would like to get rid of. This is just
one of them. I have tried to figure it out, and have looked on line, but
can not find an answer that works. Problem is, nobody wants to sit at the
computer and watch in the event that Word displays a message box. I do like
your advice about asking in a Word group. Since the code in Access should
be the same as in Word, I may find the answer there. Thanks for the help.
 

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