>Yessir, you hit the nail right on the head! Now, I only wish I knew how I could
>get Word to activate in the maximized state, to fill the whole screen..
>
>Rolf
That part is easy :)
*** wdWindowStateMaximize = 1
oWord.application.windowstate = wdWindowStateMaximize && For the Word window itself
oWord.application.activewindow.windowstate = wdWindowStateMaximize && For the active document window in Word
or
oWord.application.windows(1).windowstate = wdWindowStateMaximize
or by window name
oWord.application.windows("Document1").windowstate = wdWindowStateMaximize
You can directly assign 1 instead wdWindowStateMaximize (check VBA help for those constants) or include the header file for Word97 constants from Files section
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison