Word Document on Top

D

Devhead

how do i always have word app on top after i open it. i tries
Document.Activate() but i think what causing the problem is that i have a
message dialog confirmation the document creation and that is causing the
word document to lose focus. any word method that will cause the word doc to
be on top of "z-order" like a word.bringtofront. thanks.
 
C

Cindy M -WordMVP-

Hi Devhead,
how do i always have word app on top after i open it. i tries
Document.Activate() but i think what causing the problem is that i have a
message dialog confirmation the document creation and that is causing the
word document to lose focus. any word method that will cause the word doc to
be on top of "z-order" like a word.bringtofront.
Place Document.Activate (again) AFTER the message?

Other than that, you'd have to use the Windows API to get a handle to the Word
window and do whatever to it.

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