M
Matt Weaver
I script Word within a VBScript code block within IE. I used to be able
to bring by document to the front with .Activate, as in
Set oApp = CreateObject("Word.Application")
Set oDoc = oApp.Documents.Add
oApp.Visible = True
oApp.Activate
But now the Word window just blinks on the toolbar instead of coming
forward. I'm guessing some MS patch has altered this behavior. I don't
always know what the caption of the window is going to be. Can anyone
suggest a way to force Word to the front again? I don't see anything
different in my web settings. Oddly, after the first time I approve the
dialog box for ActiveX to interact with the page, it can bring Word to
the front.
thanks a million
Matt W.
to bring by document to the front with .Activate, as in
Set oApp = CreateObject("Word.Application")
Set oDoc = oApp.Documents.Add
oApp.Visible = True
oApp.Activate
But now the Word window just blinks on the toolbar instead of coming
forward. I'm guessing some MS patch has altered this behavior. I don't
always know what the caption of the window is going to be. Can anyone
suggest a way to force Word to the front again? I don't see anything
different in my web settings. Oddly, after the first time I approve the
dialog box for ActiveX to interact with the page, it can bring Word to
the front.
thanks a million
Matt W.