MartyConnelly
martyconnelly at shaw.ca
Wed Jul 20 12:38:10 CDT 2005
Just a hint check your task manager processes occassionally when debugging the use of word this way, and delete all the unused word.exe that will probably left orphaned. I have wondered why my machine was getting sluggish and found 20 copies left running a day later.. Bobby Heid wrote: >Hey Bryan, > >I have done that, it flashes up than access comes back up over it. Now note >that I am manually calling the function from the immediate window. That may >be making it act differently. I'm currently working on a form at the moment >to call the code from. I'll post the results. > >Thanks, >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell >Sent: Wednesday, July 20, 2005 10:53 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] A Word question > > >On 20/07/05, Bobby Heid <bheid at appdevgrp.com> wrote: > > > >>My question is, how can bring Word to the front after the report is >>generated? I am trying to get something to happen like when previewing a >>report. >> >> > >Assuming that objWord is a reference to your Word Object you can use: > >objWord.Visible = True >ObjWord.Activate > > > -- Marty Connelly Victoria, B.C. Canada