Word automation

E

eric

Hi!

I'm using word automation from HTML to open Word and various documents. The
first time (when I open the application) Word and the document shows. The
second time (when Word is already open) it dosn't always show Word, instead
the minimized icon just flickers shortly in the task bar. I'd like the
document to show/get focus every time.

Any ideas?

Thx!

/e
 
R

Russ

Eric,
after
activedocument.activate
Try
ActiveWindow.WindowState = wdWindowStateMaximize
Or
ActiveWindow.WindowState = wdWindowStateNormal
 

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