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
 
Top