Re: Word automation by Russ
Russ
Wed Jun 20 03:32:36 CDT 2007
Eric,
after
activedocument.activate
Try
ActiveWindow.WindowState = wdWindowStateMaximize
Or
ActiveWindow.WindowState = wdWindowStateNormal
> Thx, but no difference.
>
> /e
> "old man" <oldman@discussions.microsoft.com> skrev i meddelandet
> news:945B733C-DAA1-47B5-8F52-0A4DE04C99D9@microsoft.com...
>> Hi,
>>
>> To show the current document:
>>
>> activedocument.activate
>>
>> old man
>>
>> "eric" wrote:
>>
>>> 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
>>>
>>>
>>>
>
>
--
Russ
drsmN0SPAMikleAThotmailD0Tcom.INVALID