Word opens in top left hand corner of screen

D

dixie

I have a mailmerge set up in MSAccess which opens an instance of word.
Sometimes, Word opens and is only visible as a tiny triangle in the top left
corner of the screen. It is then difficult to open it up.

1. What causes this?
2. How can I prevent it.

The two relevant lines of my code that open the instance of word are:

objword.Application.Visible = True
objword.Mailmerge.Execute

How can I ensure that the window with Word in it opens maximised?

dixie
 
C

Cindy M -WordMVP-

Hi Dixie,

You might try sticking
objword.Application.Activate in after the .Visible line

You can also set objWord.ActiveWindow.WindowState to an explicit window size.
I have a mailmerge set up in MSAccess which opens an instance of word.
Sometimes, Word opens and is only visible as a tiny triangle in the top left
corner of the screen. It is then difficult to open it up.

1. What causes this?
2. How can I prevent it.

The two relevant lines of my code that open the instance of word are:

objword.Application.Visible = True
objword.Mailmerge.Execute

How can I ensure that the window with Word in it opens maximised?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word

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