Opening a Web Page by DA
DA
Thu Jul 08 19:38:51 CDT 2004
Hi Stewart
Yes you can do this, by targeting the right task window.
For example, this will maximize all the IE windows :
----------
Sub MaxIE()
For Each Task In Tasks
If InStr(Task.Name, "Microsoft Internet Explorer") _>
0 Then
Task.Activate
Task.WindowState = wdWindowStateMaximize
End If
Next Task
End Sub
---------
Hope that helps,
Dennis
>-----Original Message-----
>I've got a word document that under certain conditions
>opens then creates an internetexplorer.application then
>immediately navigates to a web page, is there anyway of
>maximizing the internet explorer window through the word
>macro.
>
>Help!!!
>
>Stewart
>.
>