Problem with Opening Word Document in Hidden Mode

P

prasanta

Hello,
I am facing one problem while opening a document in hidden mode,
normally it works. But if any warning or message box or something
office internal error message box fired then that word instance stop
working after that warning. So please tell me how to avoid this types
of error or warnings or message box in hidden mode.
Thanks,
Prasanta
 
C

Cindy M -WordMVP-

Hi Prasanta,
I am facing one problem while opening a document in hidden mode,
normally it works. But if any warning or message box or something
office internal error message box fired then that word instance stop
working after that warning. So please tell me how to avoid this types
of error or warnings or message box in hidden mode.
There's no way to turn these off completely. Depending on the type of
message, Application.DisplayAlerts can help some.

other than that, there's a KB article that describes how you can use a
"Timer" function in combination with SendKeys to dismiss any dialog
boxes. But there's no way to determine which one is holding things up
(IOW, the result could be unpredictable.)

http://support.microsoft.com/default.aspx?scid=kb;en-us;307292

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 

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