Re: Bring to Front?

From: Martin Seelhofer (martin.seelhofer_at_bluewin.ch)
Date: 10/15/04


Date: Fri, 15 Oct 2004 16:46:30 +0200

Hi Robin

> How can I bring a word document to the front of the display? At present,
> my documents are all in the background (invisible). When I've finished
> with automation, I want to bring one to the front (on top). Any ideas?

When using automation, the Office applications are started invisibly
themselves. Therefore, you'll have to let the application appear:

Application.Visible = true
or through Automation (assuming your object variable is called wdObj):
wdObj.Visible = true

Then activate/select your document (assuming you have a reference to
the doc called docObj):

docObj.Activate
or
docObj.Select

Cheers,
Martin