Re: Word Automation Focus?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Eric,

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.

If you don't show us the code, it's difficult to make suggestions...

But have you tried the .Activate method of the application and/or document
object?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

.



Relevant Pages

  • Re: Word Automation Focus?
    ... Set oApp = CreateObject ... This works great the first time. ... second time it dosn't always show Word, ... document to show/get focus every time. ...
    (microsoft.public.office.developer.automation)
  • Re: Diagnosis question
    ... I'm beginning to think that limbo is my middle name. ... twice andthe results weren't that good the first time, ... second time around. ... neuro that I see dx'd me with a combination of symptoms and a spinal tap. ...
    (alt.support.mult-sclerosis)
  • Re: Diagnosis question
    ... I'm beginning to think that limbo is my middle name. ... twice andthe results weren't that good the first time, ... second time around. ... neuro that I see dx'd me with a combination of symptoms and a spinal tap. ...
    (alt.support.mult-sclerosis)
  • Re: SumIf formula from one column based on criteria from two other
    ... "David Biddulph" wrote: ... [In the "first time" formula you've done arithmetic which forces the Boolean ... it didn't the second time I tried to use it in another cell to ... the other criteria in the second and third column. ...
    (microsoft.public.excel.misc)
  • Re: SumIf formula from one column based on criteria from two other
    ... (there's no email, no snail mail, but somewhere should be gmail in my addy) ... it didn't the second time I tried to use it in another cell to ... difference is that the first time there were multiple criteria in the ... the other criteria in the second and third column. ...
    (microsoft.public.excel.misc)